Couldn't find the file
Show older comments
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?
Answers (2)
Steven Lord
on 10 Aug 2022
0 votes
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.
1 Comment
zeynep ozkayikci
on 11 Aug 2022
Walter Roberson
on 15 Aug 2022
0 votes
You need to have the Aerospace Toolbox installed, R2022a or later. It did not exist in your R2021b.
1 Comment
zeynep ozkayikci
on 15 Aug 2022
Edited: zeynep ozkayikci
on 15 Aug 2022
Categories
Find more on Aerospace Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!