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

조회 수: 7 (최근 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
Oguz Kaan Hancioglu 2023년 4월 12일

추가 답변 (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