public class Class1 extends com.mathworks.toolbox.javabuilder.internal.MWComponentInstance<Class1>
Class1 class provides a Java interface to the M-functions
from the files:
C:\\Users\\Ina\\Desktop\\Jan\\Test_MATLAB_JAR\\GUI_Test\\GUI_Test.m C:\\Users\\Ina\\Desktop\\Jan\\Test_MATLAB_JAR\\GUI_Test\\GUI_Test_export.mThe
dispose() method must be called on a Class1 instance
when it is no longer needed to ensure that native resources allocated by this class
are properly freed.| Constructor and Description |
|---|
Class1()
Constructs a new instance of the
Class1 class. |
Class1(com.mathworks.toolbox.javabuilder.MWComponentOptions componentOptions)
Constructs a new instance of the
Class1 class. |
Class1(java.lang.String pathToComponent)
Deprecated.
Please use the constructor
Class1(MWComponentOptions componentOptions).
The com.mathworks.toolbox.javabuilder.MWComponentOptions class provides API to set the
path to the component. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Frees native resources associated with this object
|
static void |
disposeAllInstances()
Calls dispose method for each outstanding instance of this class.
|
java.lang.Object[] |
GUI_Test_export(int nargout,
java.lang.Object... rhs)
Provides the standard interface for calling the
GUI_Test_export
M-function with 1 input argument. |
void |
GUI_Test_export(java.util.List lhs,
java.util.List rhs)
Provides the interface for calling the
GUI_Test_export M-function
where the first input, an instance of List, receives the output of the M-function and
the second input, also an instance of List, provides the input to the M-function. |
void |
GUI_Test_export(java.lang.Object[] lhs,
java.lang.Object[] rhs)
Provides the interface for calling the
GUI_Test_export M-function
where the first input, an Object array, receives the output of the M-function and
the second input, also an Object array, provides the input to the M-function. |
java.lang.Object[] |
GUI_Test(int nargout,
java.lang.Object... rhs)
Provides the standard interface for calling the
GUI_Test
M-function with 1 input argument. |
void |
GUI_Test(java.util.List lhs,
java.util.List rhs)
Provides the interface for calling the
GUI_Test M-function
where the first input, an instance of List, receives the output of the M-function and
the second input, also an instance of List, provides the input to the M-function. |
void |
GUI_Test(java.lang.Object[] lhs,
java.lang.Object[] rhs)
Provides the interface for calling the
GUI_Test M-function
where the first input, an Object array, receives the output of the M-function and
the second input, also an Object array, provides the input to the M-function. |
static void |
main(java.lang.String[] args)
Invokes the first m-function specified by MCC, with any arguments given on
the command line, and prints the result.
|
public Class1()
throws com.mathworks.toolbox.javabuilder.MWException
Class1 class.com.mathworks.toolbox.javabuilder.MWExceptionpublic Class1(java.lang.String pathToComponent)
throws com.mathworks.toolbox.javabuilder.MWException
Class1(MWComponentOptions componentOptions).
The com.mathworks.toolbox.javabuilder.MWComponentOptions class provides API to set the
path to the component.pathToComponent - Path to component directory.com.mathworks.toolbox.javabuilder.MWExceptionpublic Class1(com.mathworks.toolbox.javabuilder.MWComponentOptions componentOptions)
throws com.mathworks.toolbox.javabuilder.MWException
Class1 class. Use this constructor
to specify the options required to instantiate this component. The options will
be specific to the instance of this component being created.componentOptions - Options specific to the component.com.mathworks.toolbox.javabuilder.MWExceptionpublic void dispose()
dispose in interface com.mathworks.toolbox.javabuilder.Disposabledispose in class com.mathworks.toolbox.javabuilder.internal.MWComponentInstance<Class1>public static void main(java.lang.String[] args)
public static void disposeAllInstances()
public void GUI_Test(java.util.List lhs,
java.util.List rhs)
throws com.mathworks.toolbox.javabuilder.MWException
GUI_Test M-function
where the first input, an instance of List, receives the output of the M-function and
the second input, also an instance of List, provides the input to the M-function.
M-documentation as provided by the author of the M function:
% GUI_TEST MATLAB code for GUI_Test.fig
% GUI_TEST, by itself, creates a new GUI_TEST or raises the existing
% singleton*.
%
% H = GUI_TEST returns the handle to a new GUI_TEST or the handle to
% the existing singleton*.
%
% GUI_TEST('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in GUI_TEST.M with the given input arguments.
%
% GUI_TEST('Property','Value',...) creates a new GUI_TEST or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before GUI_Test_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to GUI_Test_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
lhs - List in which to return outputs. Number of outputs (nargout) is
determined by allocated size of this List. Outputs are returned as
sub-classes of com.mathworks.toolbox.javabuilder.MWArray.
Each output array should be freed by calling its dispose()
method.rhs - List containing inputs. Number of inputs (nargin) is determined
by the allocated size of this List. Input arguments may be passed as
sub-classes of com.mathworks.toolbox.javabuilder.MWArray, or
as arrays of any supported Java type. Arguments passed as Java types are
converted to MATLAB arrays according to default conversion rules.com.mathworks.toolbox.javabuilder.MWException - An error has occurred during the function call.public void GUI_Test(java.lang.Object[] lhs,
java.lang.Object[] rhs)
throws com.mathworks.toolbox.javabuilder.MWException
GUI_Test M-function
where the first input, an Object array, receives the output of the M-function and
the second input, also an Object array, provides the input to the M-function.
M-documentation as provided by the author of the M function:
% GUI_TEST MATLAB code for GUI_Test.fig
% GUI_TEST, by itself, creates a new GUI_TEST or raises the existing
% singleton*.
%
% H = GUI_TEST returns the handle to a new GUI_TEST or the handle to
% the existing singleton*.
%
% GUI_TEST('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in GUI_TEST.M with the given input arguments.
%
% GUI_TEST('Property','Value',...) creates a new GUI_TEST or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before GUI_Test_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to GUI_Test_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
lhs - array in which to return outputs. Number of outputs (nargout)
is determined by allocated size of this array. Outputs are returned as
sub-classes of com.mathworks.toolbox.javabuilder.MWArray.
Each output array should be freed by calling its dispose()
method.rhs - array containing inputs. Number of inputs (nargin) is
determined by the allocated size of this array. Input arguments may be
passed as sub-classes of
com.mathworks.toolbox.javabuilder.MWArray, or as arrays of
any supported Java type. Arguments passed as Java types are converted to
MATLAB arrays according to default conversion rules.com.mathworks.toolbox.javabuilder.MWException - An error has occurred during the function call.public java.lang.Object[] GUI_Test(int nargout,
java.lang.Object... rhs)
throws com.mathworks.toolbox.javabuilder.MWException
GUI_Test
M-function with 1 input argument.
Input arguments may be passed as sub-classes of
com.mathworks.toolbox.javabuilder.MWArray, or as arrays of
any supported Java type. Arguments passed as Java types are converted to
MATLAB arrays according to default conversion rules.
M-documentation as provided by the author of the M function:
% GUI_TEST MATLAB code for GUI_Test.fig
% GUI_TEST, by itself, creates a new GUI_TEST or raises the existing
% singleton*.
%
% H = GUI_TEST returns the handle to a new GUI_TEST or the handle to
% the existing singleton*.
%
% GUI_TEST('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in GUI_TEST.M with the given input arguments.
%
% GUI_TEST('Property','Value',...) creates a new GUI_TEST or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before GUI_Test_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to GUI_Test_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
nargout - Number of outputs to return.rhs - The inputs to the M function.com.mathworks.toolbox.javabuilder.MWArray. Each output array
should be freed by calling its dispose() method.com.mathworks.toolbox.javabuilder.MWException - An error has occurred during the function call.public void GUI_Test_export(java.util.List lhs,
java.util.List rhs)
throws com.mathworks.toolbox.javabuilder.MWException
GUI_Test_export M-function
where the first input, an instance of List, receives the output of the M-function and
the second input, also an instance of List, provides the input to the M-function.
M-documentation as provided by the author of the M function:
% GUI_TEST_EXPORT MATLAB code for GUI_Test_export.fig
% GUI_TEST_EXPORT, by itself, creates a new GUI_TEST_EXPORT or raises the
existing
% singleton*.
%
% H = GUI_TEST_EXPORT returns the handle to a new GUI_TEST_EXPORT or the
handle to
% the existing singleton*.
%
% GUI_TEST_EXPORT('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in GUI_TEST_EXPORT.M with the given input arguments.
%
% GUI_TEST_EXPORT('Property','Value',...) creates a new GUI_TEST_EXPORT or
raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before GUI_Test_export_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to GUI_Test_export_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
lhs - List in which to return outputs. Number of outputs (nargout) is
determined by allocated size of this List. Outputs are returned as
sub-classes of com.mathworks.toolbox.javabuilder.MWArray.
Each output array should be freed by calling its dispose()
method.rhs - List containing inputs. Number of inputs (nargin) is determined
by the allocated size of this List. Input arguments may be passed as
sub-classes of com.mathworks.toolbox.javabuilder.MWArray, or
as arrays of any supported Java type. Arguments passed as Java types are
converted to MATLAB arrays according to default conversion rules.com.mathworks.toolbox.javabuilder.MWException - An error has occurred during the function call.public void GUI_Test_export(java.lang.Object[] lhs,
java.lang.Object[] rhs)
throws com.mathworks.toolbox.javabuilder.MWException
GUI_Test_export M-function
where the first input, an Object array, receives the output of the M-function and
the second input, also an Object array, provides the input to the M-function.
M-documentation as provided by the author of the M function:
% GUI_TEST_EXPORT MATLAB code for GUI_Test_export.fig
% GUI_TEST_EXPORT, by itself, creates a new GUI_TEST_EXPORT or raises the
existing
% singleton*.
%
% H = GUI_TEST_EXPORT returns the handle to a new GUI_TEST_EXPORT or the
handle to
% the existing singleton*.
%
% GUI_TEST_EXPORT('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in GUI_TEST_EXPORT.M with the given input arguments.
%
% GUI_TEST_EXPORT('Property','Value',...) creates a new GUI_TEST_EXPORT or
raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before GUI_Test_export_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to GUI_Test_export_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
lhs - array in which to return outputs. Number of outputs (nargout)
is determined by allocated size of this array. Outputs are returned as
sub-classes of com.mathworks.toolbox.javabuilder.MWArray.
Each output array should be freed by calling its dispose()
method.rhs - array containing inputs. Number of inputs (nargin) is
determined by the allocated size of this array. Input arguments may be
passed as sub-classes of
com.mathworks.toolbox.javabuilder.MWArray, or as arrays of
any supported Java type. Arguments passed as Java types are converted to
MATLAB arrays according to default conversion rules.com.mathworks.toolbox.javabuilder.MWException - An error has occurred during the function call.public java.lang.Object[] GUI_Test_export(int nargout,
java.lang.Object... rhs)
throws com.mathworks.toolbox.javabuilder.MWException
GUI_Test_export
M-function with 1 input argument.
Input arguments may be passed as sub-classes of
com.mathworks.toolbox.javabuilder.MWArray, or as arrays of
any supported Java type. Arguments passed as Java types are converted to
MATLAB arrays according to default conversion rules.
M-documentation as provided by the author of the M function:
% GUI_TEST_EXPORT MATLAB code for GUI_Test_export.fig
% GUI_TEST_EXPORT, by itself, creates a new GUI_TEST_EXPORT or raises the
existing
% singleton*.
%
% H = GUI_TEST_EXPORT returns the handle to a new GUI_TEST_EXPORT or the
handle to
% the existing singleton*.
%
% GUI_TEST_EXPORT('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in GUI_TEST_EXPORT.M with the given input arguments.
%
% GUI_TEST_EXPORT('Property','Value',...) creates a new GUI_TEST_EXPORT or
raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before GUI_Test_export_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to GUI_Test_export_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
nargout - Number of outputs to return.rhs - The inputs to the M function.com.mathworks.toolbox.javabuilder.MWArray. Each output array
should be freed by calling its dispose() method.com.mathworks.toolbox.javabuilder.MWException - An error has occurred during the function call.