Export from workspace to simulink
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuestas (1)
Renato Agurto
el 22 de Dic. de 2015
Editada: Renato Agurto
el 22 de Dic. de 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;
0 comentarios
Ver también
Categorías
Más información sobre Simulink Environment Customization en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!