External Interfaces - The MathWorks - #251

/ 649


catalogue search
P. 251
P. 252
P. 253
P. 254
P. 255
P. 256
P. 257
P. 258
P. 259
P. 260
P. 261
P. 262
P. 263
P. 264
P. 265
P. 266
P. 267
P. 268
P. 269
P. 270
P. 271
P. 272
P. 273
P. 274
P. 275
P. 276
P. 277
P. 278
P. 279
P. 280
P. 281
P. 282
P. 283
P. 284
P. 285
P. 286
P. 287
P. 288
P. 289
P. 290
P. 291
P. 292
P. 293
P. 294
P. 295
P. 296
P. 297
P. 298
P. 299
P. 300


See other catalogues for The MathWorks

Text version of the page
Bringing Java™ Classes and Methods into MATLAB® Workspace
Bringing Java™ Classes and Methods into MATLAB® Workspace
In this section...
"Introduction" on page 7-7 "Sources of Java™ Classes" on page 7-7 "Defining New Java™ Classes" on page 7-8 "The Java™ Class Path" on page 7-8
"Making Java™ Classes Available in MATLAB® Workspace" on page 7-11 "Loading Java™ Class Definitions" on page 7-13 "Simplifying Java™ Class Names" on page 7-13 "Locating Native Method Libraries" on page 7-14 "Java™ Classes Contained in a JAR File" on page 7-15
Introduction
You can draw from an extensive collection of existing Sun™ Java™ classes or create your own class definitions to use with MATLAB® software. This section explains how to go about finding the class definitions that you need or how to create classes of your own design. Once you have the classes you need, defined in either individual .class files, packages, or Java Archive (JAR) files, you can make them available in the MATLAB workspace. This section also describes how to specify the native method libraries used by Java code.
Sources of Java™ Classes
Following are Java class sources that you can use in the MATLAB workspace:
• Java built-in classes — general-purpose class packages, such as j ava. util, included in the Java language. See your Java language documentation for descriptions of these packages.
• Third-party classes — packages of special-purpose Java classes.
7-7

pageCatalog pdf di En 2012-06-22-01