lla2ecef is not supported for code generation

3 次查看(过去 30 天)
I am creating MEX code from my m-file that includes "lla2ecef" function.
So, when I use the "Matlab coder" for the m-file, it shows the error message that "lla2ecef is not supported for code generation."
Does anyone know how to solve this problem?
Thanks,
  2 个评论
John Lee
John Lee 2021-10-23
编辑:John Lee 2021-10-23
Thank you very much!
Someone should make it sure in radian rather than degree for the latitude and longitude. altitude is in meters.
Walter Roberson
Walter Roberson 2021-10-24
It would probably make sense to adapt the function from that code, such as by using sind() and cosd()

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2021-10-23
编辑:Walter Roberson 2021-10-24

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by