Simulink model calling with appDesigner

조회 수: 8 (최근 30일)
Volodymyr Zomber
Volodymyr Zomber 2020년 2월 2일
댓글: saleh said bouhliga 2020년 10월 16일
Hello.
If I have a completed simulink model with the scopes, is there any way to run that model by pushing a button on AppDesigner to make this model execute and get some result back, for example from scopes to make the plot or etc. I need to visualise a model and I've looked for something like sim() load() etc. Аs I am a newby I cannot put it all together.

답변 (1개)

stozaki
stozaki 2020년 2월 5일
I can't answer whole of your problem. but I create simple App.
It has 2 button. One is execute simulation the other is open scope block. It is simple example helping you.
Please see following URL as references.
  댓글 수: 2
Volodymyr Zomber
Volodymyr Zomber 2020년 2월 6일
Thanks for your answer. I've already resolved my issue. The deal was in returning values. I added block 'To workflow' (with unique names to get access to them) to my schemas and it got values back after simulating process so I could use data to make plots.
saleh said bouhliga
saleh said bouhliga 2020년 10월 16일
hi
Solution to your question see here
https://se.mathworks.com/matlabcentral/fileexchange/73613-interface-between-matlab-app-and-simulink?s_tid=answers_rc2-1_p4_Topic

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

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by