How can I parametrize the "From Workspace" block in Simulink?

1 visualización (últimos 30 días)
Dominika
Dominika el 24 de Mzo. de 2015
Respondida: A Jenkins el 24 de Mzo. de 2015
Hi, I am trying to parametrize the "From Workspace" block in Simulink. Instead of the default variable = "simulink-input", I want to use a name = "x1". "To workspace" block I changed for y1 with this -> set_param([sys '/To workspace'],'mat-name','y1'). Is there something like this for "From workspace"?

Respuestas (1)

A Jenkins
A Jenkins el 24 de Mzo. de 2015
set_param([sys '/From workspace'],'VariableName','x1')

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by