I've generated an elaborate tracking scenario programmatically with the Sensor Fusion & Tracking toolbox. How can I save the scenario to a .mat file so I can load it into the Tracking Scenario Designer application?
If you're using release R2020b or later, you should be able to directly import the scenario object into the tracking scenario designer by doing the following
% Assuming scenario is your trackingScenario object
There are some limitations with doing so, because not all the features supported by tracking scenario are supported by the designer at this time. Please see the following link for limitations on using this syntax.