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

9 次查看(过去 30 天)
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!

采纳的回答

Oguz Kaan Hancioglu

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by