"platform" error after copying Matlab example to a PC
古いコメントを表示
I copied the code from this example https://uk.mathworks.com/help/aerotbx/ug/analyze-access-between-a-satellite-constellation-and-an-aircraft.html , but when trying to execute it on my PC I have an error:
Error using platform
Expected a string scalar or character vector for the parameter name.
aircraft.obj = platform(mission.scenario,aircraft.trajectory, Name='Aircraft');
The example runs ok on Matlab online. What could be the issue when I run absolutely the same code on my PC?
2 件のコメント
Steven Lord
2024 年 11 月 19 日
What release of MATLAB and Aerospace Toolbox are you using? It's possible the example is using language features or functionality that was introduced in a later release than the one you're using. If that's the case, you could check the documentation that is part of your installation to see if there's a version of that example, which would use only the functionality available in your release.
vasili
2024 年 11 月 19 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!