开始用此模型仿真双闭环是可以的,速度环电流环都是PI控制,但是将速度环换成滑模变结构控制,SVPWM就出错了,如下:
Out of bounds switch input specified for 'suduhuanhao/Subsystem2/Subsystem/Multiport Switch'. The control input must be greater than or equal to 1 and less than or equal to the number of inputs if using one-based indexing; The control input must be greater than or equal to 0 and less than the number of inputs if using zero-based indexing
为什么会出现扇区号超出开关的极限6呢,应该不会啊,扇区再怎么样也不会超出六啊,怎么回事呢??急,有哪位高手指教一下,谢谢了……