- 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.
- Integrating STK with MATLAB: https://help.agi.com/stk/index.htm#training/StartMatlab.htm
- MATLAB STK Automation Examples: https://github.com/AnalyticalGraphicsInc/STKCodeExamples/tree/master/StkAutomation/Matlab
- GenerateTLE: https://help.agi.com/stk/Subsystems/connectCmds/connectCmds.htm#cmd_GenerateTLESatellites.htm
- MATLAB STK connection: https://www.mathworks.com/matlabcentral/answers/1564416-matlab-stk-connection-how-to-access-available-existing-objects