Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

simulink parameters

Status
Not open for further replies.

jon06

Electrical
Joined
Mar 12, 2006
Messages
1
Location
ES
Hi:

I'd like to know if there is any way a block in simulink can take its parameters from the model instead of the workspace.

Thanks for your help!
 
Jon,
You can write a .mat file where you define specific parameters with variable names that you read into the workspace before you run the simulink model and have those variable names as the values for the blocks.

you could also have a model where you dump the output values form some system to a structure in the workspace and apply that structure value to the input at every time step.

Though i am not positive the latter would work in the desired fashion.

Post more information ifyou need more help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top