MATLAB/Simulink error
Mostra commenti meno recenti
Hello,
I am trying to run this model, where the gains and transport delay are constants.
However, I get the following error and I am not sure why:
Error due to multiple causes.
Caused by:
Error in port widths or dimensions. 'Output Port 1' of '.../Transport Delay' has 2 elements. This port does not accept the dimensions (or orientation) specified by the output signal.
Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 1' of '.../Gnm'.
Thank you very much for your help!
4 Commenti
Benjamin Thompson
il 27 Gen 2022
Can you post the Simulink model?
Can you also please attach a script that assigns all of the inputs, e.g. ref_signal, Kp and Kr for your from workspace block so that we can try to replicate the problem. Also, the model in your screenshot is a little different than the one you attached. It uses the from workspace blocks and products for Kp and Kr rather than the gains shown in your screenshot. I assume though that the problem also occurs with the model you have attached
aeropista
il 27 Gen 2022
aeropista
il 27 Gen 2022
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Simulink in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!