lla2ecef is not supported for code generation

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 comentarios

John Lee
John Lee el 23 de Oct. de 2021
Editada: John Lee el 23 de Oct. de 2021
Thank you very much!
Someone should make it sure in radian rather than degree for the latitude and longitude. altitude is in meters.
It would probably make sense to adapt the function from that code, such as by using sind() and cosd()

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 23 de Oct. de 2021

Comentada:

el 24 de Oct. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by