Powershell Pass Variable Between Functions In Matlab