필터 지우기
필터 지우기

initializing simulink parameters from simulink

조회 수: 1 (최근 30일)
mado
mado 2013년 4월 20일
i have simulink model and it has different know parameters which i should load it every time to workspace from matlab , is there any way to load those parameters file from simulink ?
  댓글 수: 2
Azzi Abdelmalek
Azzi Abdelmalek 2013년 4월 20일
What do you mean?
mado
mado 2013년 4월 20일
i have simulink model and it has parameters like coil and capacitor i want to load their values when i start simulink without need to go to load the file into workspace for example instal a button in simulink to push it to load them

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

답변 (2개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 4월 20일
You can use annotations
  댓글 수: 2
mado
mado 2013년 4월 20일
where to find annotation in simulink , i didn't get it yet
Azzi Abdelmalek
Azzi Abdelmalek 2013년 4월 20일
In your simulink model, point your mouse on unoccupied area then write a text (for example data). Select this text then right click and choose annotations properties

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


Kaustubha Govind
Kaustubha Govind 2013년 4월 22일
This is typically done in the PostLoadFcn callback of the model as described on this blog post.

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by