How can I exctract 2 values from a 1-by-3 array in Simulink ?
1 view (last 30 days)
I am using the Surface Mount PMSM block from the Motor Control Blockset in Simulink to develop an FOC algorithm. The output of the block (PhaseCurr) is a 1-by-3 array containing my 3 phase currents a, b and c. How can I extract the 2 currents (phase a and b) from my array in Simulink so that I can process them in the Clarke transform ? Please any help would be appreciated.