Export from workspace to simulink

1 vue (au cours des 30 derniers jours)
Ionut Grigore
Ionut Grigore le 22 Déc 2015
Modifié(e) : Renato Agurto le 22 Déc 2015
I have a honework and i dont know what kind of block is the big one .I need to bring from workspace to simulink values.

Réponses (1)

Renato Agurto
Renato Agurto le 22 Déc 2015
Modifié(e) : Renato Agurto le 22 Déc 2015
Simulink -> sources -> constant
if you have a constant in the workspace. You just need to write the name of the variable inside the block. Or:
Simulink -> sources -> From workspace
if you want a signal. For example:
simin.time = (1:10)';
simin.signals.values = simin.time.^2;

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!

Translated by