Help simulink

조회 수: 3 (최근 30일)
Nuno
Nuno 2011년 3월 29일
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?

채택된 답변

Paulo Silva
Paulo Silva 2011년 3월 29일
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
Nuno
Nuno 2011년 3월 29일
Thanks :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by