Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
"Width of component terminal (3) does not match width of connection (1)". How can I correct this error in my Voltage Source Inverter?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Joel Van Sickel
am 12 Dez. 2022
Unfortunately PLECS is a third party tool and you will need to pose this question on a different forum.
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!