MATLAB COMPILER RELEASE NOTES User's Guide Page 226

  • Download
  • Add to my manuals
  • Print
  • Page
    / 264
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 225
mcc
7-48
Make a C translation and a stand-alone executable from myfun1.m and
myfun2.m (by generating each output file with a separate mcc call).
mcc -t -L C myfun1 % Yields myfun1.c
mcc -t -L C myfun2 % Yields myfun2.c
mcc -W main -L C myfun1 myfun2 % Yields myfun1_main.c
mcc -T compile:exe myfun1.c % Yields myfun1.o
mcc -T compile:exe myfun2.c % Yields myfun2.o
mcc -T compile:exe myfun1_main.c % Yields myfun1_main.o
mcc -T link:exe myfun1.o myfun2.o myfun1_main.o
Note On PCs, filenames ending with .o above would actually end with .obj.
Page view 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 263 264

Comments to this Manuals

No comments