Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

7 次查看(过去 30 天)
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?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by