Couldn't find the file
2 次查看(过去 30 天)
显示 更早的评论
I was doing this example but when I run the
mission.Data = load("SatelliteScenarioCustomAttitudeData.mat", "PositionTimeTableGCRF", "AttitudeTimeTableGCRF2Body");
display(mission.Data.PositionTimeTableGCRF)
it gives me an error and I could not find any file under that name. Could you hep me please?
0 个评论
回答(2 个)
Steven Lord
2022-8-10
That data file is in the example's folder, which is not on the MATLAB path by default. If you open the example in MATLAB using the command that you can copy to the clipboard by clicking on the "Copy Command" button in the upper-right corner of the example, MATLAB will change its current directory to the one containing that example (and its associated data file.) Once that's happened you will be able to load that data file.
Walter Roberson
2022-8-15
You need to have the Aerospace Toolbox installed, R2022a or later. It did not exist in your R2021b.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Reference Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!