Why isn't angle2dcm compatible with codegen?

4 views (last 30 days)
Was working up some beamforming code for code generation, and my initial stab at using angle2dcm for creating the DCMs (for rotating to the platform frame and then to the antenna frame) worked fine until I launched codegen. I substituted eul2rotm from the other toolbox to get something that runs, but that was annoying, and the inital ZXY rotations I used for the antenna aren't supported; hopefully the ZYX rotation that is supported is compatible with how my eventual mounting is defined. Is there a compelling reason as to why angle2dcm isn't supported by MATLAB Coder?

Accepted Answer

Ryan Livingston
Ryan Livingston on 8 Aug 2022
I don't have a compelling reason for this limitation. So I created an internal note with your request to support this in the future and forwarded it to the relevant development team to consider for the future.

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!