Okay, thanks! Seems you are using a different zscore script which is masking the original Matlab one.
If you type
you will see which file Matlab uses when zscore is called. You could then rename/delete that file if it’s not relevant for other projects and/or remove it from the Matlab path.
Then it should work I guess – and you could afterwards uncomment the lines again.