MATLAB BUILDER JA 2 User's Guide Page 48

  • Download
  • Add to my manuals
  • Print
  • Page
    / 292
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 47
3 Programming
Impor t Classes
To use a component generated by MATLAB Builder for Java, you must do
the following:
Import MATLAB libraries with the Java
import function, for example:
import com.mathworks.toolbox.javabuilder.*;
Import the component classes created by Java Builde r, for example:
import componentname.*; or import componentname.classname;
Note When you use Java Builder to create classes, you m us t create those
classes on the same operating system to which you are deploying them
for development (or for use by end users running an application). That is,
for exam ple, if your g oal is to deploy an application to end users to run on
Windows, you must create the Java classes with Java Builder running on
Windows.
The reason for this limi tation is as follow s: although the
.jar file itself might
be platform-independent, the
.jar file is depen dent on the .ctf file, which
is not platform-independent.
3-2
Page view 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 291 292

Comments to this Manuals

No comments