Error with Calling "dcmecef2ned" in Simulink
9 次查看(过去 30 天)
显示 更早的评论
I am trying to run a Simulink model I initially created with Matlab 2022b on 2024b. I get the following error when I try to run the code.
"Function 'dcmecef2ned' not supported for code generation."
It use to work, but now it does not on 2024b. Is there a fix for this?
0 个评论
回答(1 个)
Paul
2025-11-19,17:54
Hi Richard,
In which version did it used to work? I'm assuming you're calling dcmecef2ned from inside a MatlabFunction block?
2 个评论
Paul
2025-11-19,22:59
The cited doc page does not include an "Extended Capabilities" section indicating that the function is eligible for Code Generation. So I'm not surprised that it doesn't work inside the MatlabFunction block. I'm more surprised that it did work in a previous version, hence my question regarding which version that was.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Aerospace Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!