MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE User's Guide Page 87

  • Download
  • Add to my manuals
  • Print
  • Page
    / 274
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 86
Building Stand-Alone Applications on UNIX
4-11
Verifying mbuild
There is C source code for an example ex1.c included in the
<matlab>/extern/examples/cmath directory, where <matlab> represents the
top-level directory where MATLAB is installed on your system. To verify that
mbuild is properly configured on your system to create stand-alone
applications, copy
ex1.c to your local directory and type cd to change to that
directory. Then, at the MATLAB prompt, enter
mbuild ex1.c
This creates the file called ex1. Stand-alone applications created on UNIX
systems do not have any extensions.
Locating Shared Libraries
Before you can run your stand-alone application, you must tell the system
where the API and C shared libraries reside. This table provides the necessary
UNIX commands depending on your systems architecture.
It is convenient to place this command in a startup script such as
~/.cshrc.
Then the system will be able to locate these shared libraries automatically, and
you will not have to reissue the command at the start of each login session.
Note On all UNIX platforms, the Compiler library is shipped as a shared
object (
.so) file or shared library (.sl). Any Compiler-generated, stand-alone
application must be able to locate the C/C++ libraries along the library path
environment variable (
SHLIB_PATH, LIBPATH, or LD_LIBRARY_PATH) in order to
Architecture Command
HP700/HP-UX
setenv SHLIB_PATH <matlab>/extern/lib/<arch>:$SHLIB_PATH
IBM RS/6000
setenv LIBPATH <matlab>/extern/lib/ibm_rs:$LIBPATH
All others
setenv LD_LIBRARY_PATH <matlab>/extern/lib/<arch>:$LD_LIBRARY_PATH
where:
<matlab> is the MATLAB root directory
<arch> is your architecture (i.e., alpha, hp700, hpux, lnx86, sgi, sgi64, or sol2)
Page view 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 273 274

Comments to this Manuals

No comments

Rosen Aviation SlimLine 1700 manuály

Uživatelské manuály a uživatelské příručky pro Televizory a monitory Rosen Aviation SlimLine 1700.
Poskytujeme 2 manuály pdf Rosen Aviation SlimLine 1700 ke stažení zdarma podle typů dokumentů: Specifikace






Další produkty a příručky pro Televizory a monitory Rosen Aviation

Modely Typ Dokumentu
WideScreen 7001 Specifikace   Rosen Aviation WideScreen 7001 Specifications, 34 stránky
SlimLine 8403 Specifikace   Rosen Aviation SlimLine 8403 Specifications, 19 stránky
Remote Display System Specifikace   Rosen Aviation Remote Display System Specifications, 24 stránky
WideScreen 1701 Series Specifikace   Rosen Aviation WideScreen 1701 Series Specifications, 16 stránky
0700-104 Specifikace   Rosen Aviation 0700-104 Specifications, 39 stránky
WideScreen 7001 Uživatelský manuál   DISPLAY - Rosen Aviation [en] , 21 stránky
Remote Display System Specifikace   Rosen Aviation Remote Display System Specifications, 43 stránky
WideScreen 7000 Uživatelský manuál   Flight Club, 3 stránky
Widescreen 2401 Series Specifikace   Rosen Aviation Widescreen 2401 Series Specifications, 37 stránky
Remote Display System Specifikace   Rosen Aviation Remote Display System Specifications [en] , 38 stránky
SlimLine 2002 Series Specifikace   Rosen Aviation SlimLine 2002 Series Specifications, 23 stránky
WideScreen 7000 Uživatelský manuál   New Products Pilots and Owners Will Want, 7 stránky
WideScreen 7001 Uživatelský manuál   inflight communications & entertainment systems, 10 stránky