lla2ecef is not supported for code generation

4 Ansichten (letzte 30 Tage)
John Lee
John Lee am 23 Okt. 2021
Kommentiert: Walter Roberson am 24 Okt. 2021
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 Kommentare
John Lee
John Lee am 23 Okt. 2021
Bearbeitet: John Lee am 23 Okt. 2021
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 am 24 Okt. 2021
It would probably make sense to adapt the function from that code, such as by using sind() and cosd()

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Okt. 2021
Bearbeitet: Walter Roberson am 24 Okt. 2021

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by