How to duplicate the model workspace for another simulink project?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Daniel Doscher
le 24 Avr 2019
Réponse apportée : Fangjun Jiang
le 24 Avr 2019
I have been modifying a simulink example from the vehicle dynamics blockset. I saved the modified version under a new project name. The issue is that my new model cannot reference all of the defined constants and variables in the model workspace of the original. I am having trouble figuring out how to copy the workspace over to the new project. Does anyone know a simple way to do this? I have been poking around in the model explorer but it does not give the option to copy the workspace.
I also cant find the path to the model workspace in the project folder. So if I am able to copy it, I am not sure where I am supposed to save it for the modified project.
The information is saved as a model file, but I dont see where in the medol the values are being pulled from.
0 commentaires
Réponse acceptée
Fangjun Jiang
le 24 Avr 2019
Model workspace is saved with the model. You can import and export though. In Model Explorer, select "Model Workspace", right click, you will see "Import ..." and "Export ...".
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!