i want to control the value of a constant block in simulink by an EditField in appdesigner
4 views (last 30 days)
Show older comments
azeddine
on 12 Apr 2023
Answered: Oguz Kaan Hancioglu
on 12 Apr 2023
i want to control the value of a constant block in simulink by using an EditField in appdesigner
this is the code i tried to use but it doasn't work
Tuner3=slrealtime.ui.tool.ParameterTuner(app.UIFigure);
Tuner3.Component = app.bitsEditField;
Tuner3.ParameterName = 'Constant value';
Tuner3.BlockPath = 'models2/constant';
thanks!
0 Comments
Accepted Answer
Oguz Kaan Hancioglu
on 12 Apr 2023
You can use the codes in the following topics to change simulink block specific parameters from app designer.
Best
0 Comments
More Answers (0)
See Also
Categories
Find more on Real-Time Application Instruments and Instrument Panel Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!