Hello
I've read in the previous questions, that initializing a MATLAB-Function in Simulink is done like:
persistent j; if isempty(j) j = 1; end
And I have done so. Then I use the value j.
The problem is, as I want to run the simulink model, I get the following error:
Any ideas how to solve this problem?
Thanks.
Best Answer