Is there a way to pass the name of an input signal to a matlab function block in simulink?
5 views (last 30 days)
Fangjun Jiang on 9 Aug 2022
Not through passing but you can get it through get_param(). Note that some functions are not supported for code generation.
function y = fcn(u,x)
y = u;