MATLAB COMPILER RELEASE NOTES User's Guide Page 88

  • Download
  • Add to my manuals
  • Print
  • Page
    / 264
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 87
4 Stand-Alone Applications
4-18
This simple method works for the majority of users. Assuming filename.c
contains a main function, this e xample uses your installed C or C++ compiler
as your default compiler for creating your stand-alone application. If you are a
user who does not need to change compilers, or you do not need t o modify your
compiler options files, you can skip ahead in this section to “Verifying mbuild
on page 4-22. If you need to know how to change the options file or select a
different compiler, continue with this section.
Note On Windows 95 and Windows 98 systems, if you get the error, out of
environment space
, see “Out of Environment Space Running mex or mbuild”
on page 4-28 for more information.
Systems with More than One C/C++ Compiler. Onsystemswherethereismorethan
one C or C++ com p i ler, th e
mbuild utility lets you selectwhich of the compilers
you want to use. O nce you choose your C or C++ compiler, that compiler
becomes your default compiler and you no longer ha ve to select one when you
compile your stand-alone applications .
For example, if your system has both the Lcc and Microsoft Visual C/C++
comp ilers, w hen y ou enter for the f i rst time
mbuild filename.c
you are asked to select which compiler to use.
Please choose your compiler for building stand-alone MATLAB
applications:
Select a compiler:
[1] Lcc C version 2.4 in D:Applications\Mathworks\sys\lcc
[2] Microsoft Visual C/C++ version 6.0 in
D:\Applications\Microsoft Visual Studio
[0] None
Compiler:
Select t he desired compiler by entering its number and pressing Return.You
are then asked to verify your information.
Page view 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 263 264

Comments to this Manuals

No comments