Powershell While Loop Syntax Matlab Simulink