Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

stream data from m code to simulink block

1 Ansicht (letzte 30 Tage)
EDDYKURNIAWAN ABDRAUF
EDDYKURNIAWAN ABDRAUF am 25 Nov. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
i have do stream the data from my m code into simulink block using 'set_param' such that suggest in the past http://www.mathworks.com/matlabcentral/newsreader/view_thread/324671.... my constants block was change the value while the m code is continuously run but the value at display block in value was show as in the constant block..below is my code
ax=int2str(ax);
ay=int2str(ay);
az=int2str(az);
gx=int2str(gx);
set_param('model1/Constant','Value',ax);
set_param('model1/Constant1','Value',ay);
set_param('model1/Constant2','Value',az);
set_param('model1/Constant3','Value',gx);
the value at display will show after i stop the m code...any one can help me..please

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by