As far as I understand, Matlab does not run in the command shell under Windows.
Maybe the -batch or -wait flags are useful. See; https://www.mathworks.com/help/matlab/ref/matlabwindows.html#f7-621863-option1optionN
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!