StartFcn "Error while evaluating UIControl Callback."

조회 수: 2 (최근 30일)
abizittin kale
abizittin kale 2020년 10월 18일
답변: Ayush 2024년 9월 5일
I want to start my simulation with pushbutton but I can't. Can someone help me?

답변 (1개)

Ayush
Ayush 2024년 9월 5일
The error “Wrong numer (2) of input arguments detected” indicates wrong syntax of “set_param” function.
The syntax of “set_param” function is given below:
set_param(object,parameter1,value1,...,parameterN,valueN)
Here,
“Value1” is the new value of “parameter1” ,
“Value2” is the new value of “parameter2” and so on.
You can refer to the following documentation for more details on “set_param” function: https://www.mathworks.com/help/simulink/slref/set_param.html
Hope it helps!

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by