Reputation: 23
I have created a function handler in a .m file but I am working in a Simulink model and I want to pass this function handler as input to a subsystem in the model, how can I do that?
Upvotes: 1
Views: 995
Reputation: 11
As explained in https://de.mathworks.com/help/simulink/ug/function-handle-limitations-for-code-generation.html
You can use function handles in a MATLAB Function block. You cannot use function handles for Simulink® signals, parameters, or data store memory.
Upvotes: 1