I can't set a parameters for embedded function (now matlab function) by line command

i am using add_block and set_param to make by program a simulink model. I have a probleme with matlab function (ex embedded function). I can add the block but can't set a parameters the parameters are : function y=fcn(u) program

 Accepted Answer

3 Comments

Perfect! I was not aware of this. Thanks for posting. I deleted my comment.
did'nt work for me. and it's not a stateflow chart , just a simulink model
thanks very much, at first it did not work because i was using matlab function from simulink, not from eml_lib.

Sign in to comment.

More Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!