Importing variables into Simulink from Matlab
103 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Evan Schein
le 2 Fév 2022
Commenté : Evan Schein
le 2 Fév 2022
Hi all I am now trying to compile my Simulink model and having trouble linking my workspace variables.

0 commentaires
Réponse acceptée
Benjamin Thompson
le 2 Fév 2022
In the Model Explorer, go to the Model Workspace parameters and set the Data source to "MATLAB File". Select your M file to use in the file name edit box. If you have further problems be sure to post the model file and any error messages for the community to see.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Environment Customization 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!
