To run your tests, enter MATLAB commands separated by semicolons.
Example: cd c:\MATLAB\tests; runtests('IncludingSubfolder','true');

 
Recommendation:If you require a number of MATLAB commands to execute your build, consider writing a MATLAB script and executing the script file instead.
Note: The build will fail if the execution of any MATLAB command causes an error.