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

9 visualizaciones (últimos 30 días)
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!

Respuesta aceptada

Oguz Kaan Hancioglu
Oguz Kaan Hancioglu el 12 de Abr. de 2023

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by