Help simulink

1 visualización (últimos 30 días)
Nuno
Nuno el 29 de Mzo. de 2011
I have this block: http://img228.imageshack.us/img228/3016/doubt.png
I send the values to workspace to create a graph. But to create this graph, i using a m-file, but I've got to be running it. Any way to make this run automatically when you run the simulink?

Respuesta aceptada

Paulo Silva
Paulo Silva el 29 de Mzo. de 2011
File->Model Properties->Callbacks->StopFcn
Put the name of the m file in the StopFcn, that way your code will run right after the simulation is done.
  1 comentario
Nuno
Nuno el 29 de Mzo. de 2011
Thanks :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink 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