MATLAB integration w/ STK (generateTLE)

29 ビュー (過去 30 日間)
nathan stallworth
nathan stallworth 2023 年 7 月 18 日
回答済み: Prasanna 2024 年 11 月 4 日 6:04
Attemping to automate TLE generation in MATLAB by using root.ExecuteCommand('GenerateTLE') but I recieved a command failure. Any thoughts? I already have STK instance and gain access to the root.
Thank you,
Nathan S

回答 (1 件)

Prasanna
Prasanna 2024 年 11 月 4 日 6:04
Hi Nathan,
You can troubleshoot the command failure when automating TLE generation in MATLAB using STK with the following:
  • Verify the version of STK you are using supports the GenerateTLE command, since some commands can be version-specific.
  • Ensure that the command is being executed in the correct context. For example, make sure that the scenario and objects required for TLE generation are properly set up in STK before executing the command.
  • Ensure that you have the necessary permissions and access rights to execute the command. Sometimes, administrative privileges might be required.
  • Ensure that your MATLAB script is correctly connected to the STK instance. You should have a valid ‘root’ object that provides access to the STK application. The ‘root’ object can be created by using the ‘actxserver’ into the STK application.
  • Ensure that your STK license supports the generation of TLEs and that you have the necessary permissions to execute this command. Check your STK license details and ensure that all required modules are activated.
For more information on connecting MATLAB and STK, refer the following documentations:
Hope this helps!

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by