How to declare local functions in an embedded matlab function block.
显示 更早的评论
I declared local functions in an embedded Matlab function block and I want to know if I have well coded it. The problem is that, my local functions uses some of the inputs of the main function. I would like to know how can we call local functions that uses the inputs of the main embedded matlab function block.
Thanks
2 个评论
Abdenour Bedjbedj
2013-7-4
Kaustubha Govind
2013-7-8
Please also paste sample code to make the question clearer. In general, you would simply have to pass in the data as input arguments to the local function.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!