www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ShortenCallstoJavaClassMethodsExample.m
%% Shorten Calls to Java Class Methods %% import java.util.Currency java.lang.String %% % Create a |java.lang.String| object. There is no need to type the package % name, |java.lang|. s = String('hello') %% % List the |Currency| class methods, without typing the package name. methods Currency