I have a GUI interface designed in MATLAB GUIDE Builder. It works with several MEX files that control a piece of hardware. I need to compile this into a standalone application. The deploytool's build function never compiles - it complains about the MEX files and returns: "Error executing mcc, return status = 1." Is there anyway I can compile this using commands? I tried just "mcc fileName" but that opens a command prompt window and immediately shuts down.