Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to use set_param() to change entity generator's matlab action?

조회 수: 1 (최근 30일)
Meng-Jen Wang
Meng-Jen Wang 2017년 7월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
My purpose is to do multiple run on Simevents simulations.
I am trying to use set_param() to change the parameter value in an entity generator.
However, my entity generator is Matlab action based.
It has script in it.
I want to change some parameter in the script by the set_param().
Does anyone know how to do it?
I was also trying to mask it, and use Simulink.MaskParamter to do it, but never success.
Please help if you know how to do it.
Thanks a lot!

답변 (1개)

Shashank
Shashank 2017년 7월 13일
Hi Meng,
The following documentation link contains information on how to change mask parameters programatically http://www.mathworks.com/help/simulink/ug/control-masks-programmatically.html
Hope this helps
-Shashank

Community Treasure Hunt

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

Start Hunting!

Translated by