Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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
Mar 12, 2006
1
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!
 
Replies continue below

Recommended for you

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