Error in default port dimensions function of S-function.

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개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2021년 4월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by