Php Find Position In Array Matlab Simulink Electrical Circuit