Error in default port dimensions function of S-function.

6 vues (au cours des 30 derniers jours)
erfan hassani
erfan hassani le 3 Avr 2021
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.

Réponses (0)

Catégories

En savoir plus sur Block and Blockset Authoring dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by