Info
此问题已关闭。 请重新打开它进行编辑或回答。
"Width of component terminal (3) does not match width of connection (1)". How can I correct this error in my Voltage Source Inverter?
6 次查看(过去 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?
1 个评论
Joel Van Sickel
2022-12-12
Unfortunately PLECS is a third party tool and you will need to pose this question on a different forum.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!