MATLAB integration w/ STK (generateTLE)

29 vues (au cours des 30 derniers jours)
nathan stallworth
nathan stallworth le 18 Juil 2023
Réponse apportée : Prasanna le 4 Nov 2024 à 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

Réponses (1)

Prasanna
Prasanna le 4 Nov 2024 à 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