- Can you clear the workspace and run it.
- Add print statements in between the code.
- Ensure that any required environment variables are set correctly.
- Add breakpoints and check for the root cause.
Celestrak TLE files no longer working for creating satellite scenario
24 ビュー (過去 30 日間)
古いコメントを表示
satelliteSimulationDuration = 10; % minutes
startTime = datetime('now','TimeZone','UTC');
stopTime = startTime + minutes(satelliteSimulationDuration);
sampleTime = 1; % seconds
satscene = satelliteScenario(startTime,stopTime,sampleTime);
websave('starlink.tle','https://celestrak.org/NORAD/elements/supplemental/sup-gp.php?FILE=starlink&FORMAT=tle');
tleFile = 'starlink.tle';
constellation = satellite(satscene, tleFile);
This code use to work just fine a couple of weeks ago and now it doesn't. Maybe it has something to do with MATLAB converting Mean Motion from rev/day to rev/sec?
0 件のコメント
回答 (1 件)
Manish
2025 年 1 月 27 日
編集済み: Manish
2025 年 1 月 27 日
Hey lan,
I reproduced the code from my end in 2024b MATLAB i dont face the isssue and code is working fine.
The below debuging steps may help you:
Refer to the documentation link below for 'satelliteScenario'.
Hope it helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で CubeSat and Satellites についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!