Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
"Width of component terminal (3) does not match width of connection (1)". How can I correct this error in my Voltage Source Inverter?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I designed a voltage source inverter but the error says the width of the terminal 3 does not match that of terminal 1 of the Demux. PLECS has advised changing the parameters in the C-Script. I believe the error might be in the code:
#include <stdlib.h>
#include <float.h>
#include <math.h>
#define FREQUENCY ParamRealData(0, 0)
#define OFFSET ParamRealData(1, 0)
#define INPUT_MIN ParamRealData(2, 0)
#define INPUT_MAX ParamRealData(2, 1)
#define OUTPUT_OFF ParamRealData(3, 0)
#define OUTPUT_ON ParamRealData(3, 1)
#define MOD_IDX(i) DiscState(i)
static int WIDTH;
static double time_stamp;
ANYBODY THAT CAN HELP ME REALISE HOW TO CORRECT THIS ERROR?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1225557/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1225557/image.png)
1 commentaire
Joel Van Sickel
le 12 Déc 2022
Unfortunately PLECS is a third party tool and you will need to pose this question on a different forum.
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!