Clear Filters
Clear Filters

i want to control the value of a constant block in simulink by an EditField in appdesigner

4 views (last 30 days)
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!

Accepted Answer

Oguz Kaan Hancioglu
Oguz Kaan Hancioglu on 12 Apr 2023

More Answers (0)

Community Treasure Hunt

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

Start Hunting!