Effacer les filtres
Effacer les filtres

How to load the simulink variables and parameters from model workspace to the base workspace

8 vues (au cours des 30 derniers jours)
I am compyning multiple simulink models into one model. When i just copied the model into the other model and ran it, i recieved a message that i have to load the workspace model variables into the base workspace model. So, my question is how to load all the variables from model's workspace to the basic worlspace.

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 9 Mai 2023
  1. Don't copy. Use the Model block (model reference) to reference models in another model.
  2. Do it manually. Open all the models. Open the Model Explorer. copy+paste or drag and drop.

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by