MATLAB: Is it possible to block command line deploytool until all the files have been created

asynchronousbatblockingcommanddeploytoollineMATLAB Compilerscriptsynchronous

I would like to block command line deploytool until all of the files have been created.

Best Answer

To force the DEPLOYTOOL command to block until all files are compiled call it using the following format:
 
>> !deploytool -build project.prj
The ! will force MATLAB to call the compiled, system version of deploytool which is blocking.