https://se.mathworks.com/help/matlab/matlab_external/run-external-commands-scripts-and-programs.html
Run External Commands, Scripts, and Programs - MATLAB & Simulink
Use the ! character to call an operating system command.
scripts and programsexternal commandsrunmatlabsimulink