Error in default port dimensions function of S-function.

6 views (last 30 days)
Hello,
I'm trying to simulate a lyapunavPID controller. I used the neural network in 3 identical blocks to be responsible for the PID parameters.
In Simulink, I got the error '' Error in default port dimensions function of S-function 'lyapanovPID/NND/NNE'. This function does not fully set the dimensions of output port 2". I tried to specify the dimensions myself in the "Data Edit," and also I tried the "Signal Specification" block, but still, I'm getting this error.
I attached the Simulink file. I'll be grateful if anyone can help me how to solve this problem.

Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!