How can I import a data to constant block that into the different simulink model?

1 Ansicht (letzte 30 Tage)
I have a simulink model that its name is gui. And I want to send two data from gui to simulink model'S constant block. How can I do this?

Akzeptierte Antwort

Birdman
Birdman am 30 Nov. 2017
You should use set_param command as follows:
set_param('gui/Constant','Value','i')
set_param('gui/Constant1','Value','j')
  10 Kommentare
bayram özmen
bayram özmen am 30 Nov. 2017
I will not be able to do,i have to go lesson. can i send tomorrow? Thank you so much for your interest.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Schedule Model Components finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by