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

1 view (last 30 days)
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?

Accepted Answer

Birdman
Birdman on 30 Nov 2017
You should use set_param command as follows:
set_param('gui/Constant','Value','i')
set_param('gui/Constant1','Value','j')
  10 Comments
bayram özmen
bayram özmen on 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!