StartFcn "Error while evaluating UIControl Callback."
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to start my simulation with pushbutton but I can't. Can someone help me?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/384438/image.png)
0 Kommentare
Antworten (1)
Ayush
am 5 Sep. 2024
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!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!