When I'm running the model in the simulink of 2022b and I have changed the directory of Matlab to this folder, but I get an error as follows:
Error in 'Adaptive_Neural_Controller_F_V/NN Predictive Controller2/S-Function' while executing MATLAB S-function 'predopt1', flag = 0 (initialize), at start of simulation.
Caused by: No system or file called 'ptest3sim21' found.
Do you know why this is happening? Has this happened to you before?
Hello, sina.
Thanks for sharing the model!
When I'm running the model in the simulink of 2022b and I have changed the directory of Matlab to this folder, but I get an error as follows: Error in 'Adaptive_Neural_Controller_F_V/NN Predictive Controller2/S-Function' while executing MATLAB S-function 'predopt1', flag = 0 (initialize), at start of simulation. Caused by: No system or file called 'ptest3sim21' found.
Do you know why this is happening? Has this happened to you before?