I have 2 functions that I want to use in the Matlab_function block in simulink, however, the functions are too long for copying and writing them in the script of the block (I get this display " Output truncated. Text exceeds maximum line length for Command Window display."). I tried only calling them or using function handle in the block script but it doesn't work. Is there a way I can call this function into my simulink file?
MATLAB: Calling a Matlab function from workspace to Simulink matlab function block
MATLABMATLAB and Simulink Student Suitematlab functionmatlab function blocksimulink
Best Answer