Complete the code to compile a MATLAB function into a standalone executable.
mcc -m [1]Use the function name without the .m extension when compiling with mcc -m.
Complete the code to include additional files in the MATLAB Compiler project.
mcc -m [1] -a [2]
Use the function name without extension for the main file and specify additional files with their full names.
Fix the error in the command to generate a shared library from a MATLAB function.
mcc -[1] myLib.m-m which creates an executable instead of a library.The -c option tells MATLAB Compiler to create a shared library (C shared library).
Fill both blanks to specify the runtime options and output folder in the MATLAB Compiler command.
mcc -m myApp.m [1] [2] outputFolder
-v (verbose) with runtime or output folder options.-R specifies runtime options and -d specifies the output directory.
Fill all three blanks to create a MATLAB Compiler command that compiles a function, adds a data file, and enables verbose output.
mcc [1] myFunc.m [2] data.mat [3]
-m compiles the function into an executable, -a adds additional files, and -v enables verbose output.
