How do I call Simulink function in nested subsystem?
Show older comments
I have a Simulink function 'MyFun' in a subsystem named 'S1' which is a subsystem of 'S2'. I am getting the following error when I call this function from the top level:
ERROR: A definition for the function 'MyFun' called by Function Caller block could not be found.
How can I call the function 'MyFun' from the function caller?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!