Calling Simulink blocks in M-file code

Status
Not open for further replies.

HAIDE

Junior Member level 3
Joined
Feb 9, 2012
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
GERMANY
Activity points
1,525
Dear friends
I wanna use the Simulink block of complicated differential equation in M-file, also I know I have to use sim('model name'),
but the problem is there is an input and an output of my Simulink block, so how I can change the input of my Simulink block using M-file's code?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…