lla2ecef is not supported for code generation

1 回表示 (過去 30 日間)
John Lee
John Lee 2021 年 10 月 23 日
コメント済み: Walter Roberson 2021 年 10 月 24 日
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 件)

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by