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

 采纳的回答

3 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 General Applications 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by