amc supports the following list of flags:
- A non-aspect MATLAB file can be specified as a starting point of execution with the help of a -main flag. For example, myFunc1.m is nominated as the entry point.
java -jar amc.jar -main myFunc1.m myFunc2.m myAspect.m
- If standard MATLAB code needs to be translated into Natlab compatible code, use -m flag. In the example below, all files following -m flag will be translated first.
java -jar amc.jar -m myFunc.m myAspect.m
- An output directory other than the default one can be specified using a -out flag. For example:
java -jar amc.jar -out output myFunc.m myAspect.m
- The version number of the amc can be checked using a -version flag. For example:
java -jar amc.jar -version myFunc.m myAspect.m
- The usage of the amc can be checked using a -h or a a -help flag. For example:
java -jar amc.jar -h
java -jar amc.jar -help
Toheed ASLAM
2010-04-24