Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

"Width of component terminal (3) does not match width of connection (1)". How can I correct this error in my Voltage Source Inverter?

2 views (last 30 days)
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?

Answers (0)

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!