Error in default port dimensions function of S-function.

6 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Block and Blockset Authoring 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by