Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Changing Stateflow parameter from MATLAB

Status
Not open for further replies.

brfe

Electrical
Apr 17, 2008
5
0
0
DE
Hello,

Im having a problem to change a Stateflow parameter by using a MATLAB m-file.

I already changed a constant value in Simulink by using the function set_param('obj','data','value'). But when I try to change a Stateflow parameter I recieve an error message telling that in my Stateflow chart there is no parameter with that name.

Does anybody knows how is it called the parameter in Stateflow? Is it possible to do that?

Thanks a lot,

Felipe Braga
 
Status
Not open for further replies.
Back
Top