I have a MATLAB function-block in Simulink and I would like to have the output port of the block dynamically sized based on an input parameter. Eg:
function[y] = MATLABblock(u, s) y = someCalc(u,s) %%Returns array of size s %%
Is this possible?
Best Answer