Simscape Mechanics Explorer save Cameras in Camera Manager

Hi,
I have a simscape model (2021b) in a MATLAB project and use Mechanics Explorer to visualise the system during simulations. To aid with this I create waypoint and tracking cameras using Tools -> Camera Manager however I have to redefine them each time I open the project.
Is it possible to either:
1) Save the camera configurations so that they are defined each time the project is opened?
2) Programmatically generate cameras in Camera Manager so that I don't have to manualy create them each day.
Many thanks,
Joe

 Réponse acceptée

Steve Miller
Steve Miller le 18 Juil 2022
Hi Joe - you need to save the settings to the model and then save the model.
  1. Define your settings (cameras, etc.)
  2. Press this button on the toolstrip for the Mechanics Explorer
Then make sure you save the model.
--Steve

Plus de réponses (0)

Catégories

En savoir plus sur Simulation and Analysis dans Centre d'aide et File Exchange

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by