/* * MATLAB Compiler: 4.14 (R2010b) * Date: Wed Feb 01 09:59:21 2012 * Arguments: "-B" "macro_default" "-W" * "dotnet:BwnFunctions,BwnFunctions,3.5,f:\OpenEarthTools\websites\dataviewer\dotnet\BwnFu * nctions2DotNET\Interpolate.snk" "-T" "link:lib" "-d" * "f:\OpenEarthTools\websites\dataviewer\dotnet\BwnFunctions2DotNET\BwnFunctions\src" * "-N" "-w" "enable:specified_file_mismatch" "-w" "enable:repeated_file" "-w" * "enable:switch_ignored" "-w" "enable:missing_lib_sentinel" "-w" "enable:demo_license" * "-v" * "class{BwnFunctions:f:\OpenEarthTools\websites\dataviewer\dotnet\BwnFunctions2DotNET\Ini * tialize.m,F:\OpenEarthTools\websites\dataviewer\wrapperfunctions\InterpolateToLine.m,F:\ * OpenEarthTools\websites\dataviewer\wrapperfunctions\PlotTimeSeries.m,F:\OpenEarthTools\w * ebsites\dataviewer\wrapperfunctions\WaveTransformationTable.m}" "-a" * "F:\OpenEarthTools\src\matlab\applications\SuperTrans\data\EPSG.mat" "-a" * "F:\OpenEarthTools\websites\dataviewer\tools\Tool_Anton\TransMatrix_InputParameters.mat" */ using System; using System.Reflection; using System.IO; using MathWorks.MATLAB.NET.Arrays; using MathWorks.MATLAB.NET.Utility; #if SHARED [assembly: System.Reflection.AssemblyKeyFile(@"f:\OpenEarthTools\websites\dataviewer\dotnet\BwnFunctions2DotNET\Interpolate.snk")] #endif namespace BwnFunctionsNative { /// /// The BwnFunctions class provides a CLS compliant, Object (native) interface to the /// M-functions contained in the files: /// /// f:\OpenEarthTools\websites\dataviewer\dotnet\BwnFunctions2DotNET\Initialize.m /// /// F:\OpenEarthTools\websites\dataviewer\wrapperfunctions\InterpolateToLine.m /// /// F:\OpenEarthTools\websites\dataviewer\wrapperfunctions\PlotTimeSeries.m /// /// F:\OpenEarthTools\websites\dataviewer\wrapperfunctions\WaveTransformationTable.m /// /// deployprint.m /// /// printdlg.m /// /// /// @Version 3.5 /// public class BwnFunctions : IDisposable { #region Constructors /// /// The static constructor instantiates and initializes the MATLAB Compiler Runtime /// instance. /// static BwnFunctions() { if (MWMCR.MCRAppInitialized) { Assembly assembly= Assembly.GetExecutingAssembly(); string ctfFilePath= assembly.Location; int lastDelimiter= ctfFilePath.LastIndexOf(@"\"); ctfFilePath= ctfFilePath.Remove(lastDelimiter, (ctfFilePath.Length - lastDelimiter)); string ctfFileName = "BwnFunctions.ctf"; Stream embeddedCtfStream = null; String[] resourceStrings = assembly.GetManifestResourceNames(); foreach (String name in resourceStrings) { if (name.Contains(ctfFileName)) { embeddedCtfStream = assembly.GetManifestResourceStream(name); break; } } mcr= new MWMCR("", ctfFilePath, embeddedCtfStream, true); } else { throw new ApplicationException("MWArray assembly could not be initialized"); } } /// /// Constructs a new instance of the BwnFunctions class. /// public BwnFunctions() { } #endregion Constructors #region Finalize /// /// Class destructor called by the CLR garbage collector. /// ~BwnFunctions() { Dispose(false); } /// /// Frees the native resources associated with this object /// public void Dispose() { Dispose(true); GC.SuppressFinalize(this); } /// /// Internal dispose function /// protected virtual void Dispose(bool disposing) { if (!disposed) { disposed= true; if (disposing) { // Free managed resources; } // Free native resources } } #endregion Finalize #region Methods /// /// Provides a void output, 0-input Objectinterface to the Initialize M-function. /// /// /// /// public void Initialize() { mcr.EvaluateFunction(0, "Initialize", new Object[]{}); } /// /// Provides a void output, 1-input Objectinterface to the Initialize M-function. /// /// /// /// Array of Objects representing the input arguments 1 /// through varargin.length /// public void Initialize(params Object[] varargin) { mcr.EvaluateFunction(0, "Initialize", varargin); } /// /// Provides the standard 0-input Object interface to the Initialize M-function. /// /// /// /// The number of output arguments to return. /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] Initialize(int numArgsOut) { return mcr.EvaluateFunction(numArgsOut, "Initialize", new Object[]{}); } /// /// Provides the standard 1-input Object interface to the Initialize M-function. /// /// /// /// The number of output arguments to return. /// Array of Objects representing the input arguments 1 /// through varargin.length /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] Initialize(int numArgsOut, params Object[] varargin) { return mcr.EvaluateFunction(numArgsOut, "Initialize", varargin); } /// /// Provides a single output, 0-input Objectinterface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// An Object containing the first output argument. /// public Object InterpolateToLine() { return mcr.EvaluateFunction("InterpolateToLine", new Object[]{}); } /// /// Provides a single output, 1-input Objectinterface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// Input argument #1 /// An Object containing the first output argument. /// public Object InterpolateToLine(Object ncfile) { return mcr.EvaluateFunction("InterpolateToLine", ncfile); } /// /// Provides a single output, 2-input Objectinterface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// Input argument #1 /// Input argument #2 /// An Object containing the first output argument. /// public Object InterpolateToLine(Object ncfile, Object ncVariable) { return mcr.EvaluateFunction("InterpolateToLine", ncfile, ncVariable); } /// /// Provides a single output, 3-input Objectinterface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// An Object containing the first output argument. /// public Object InterpolateToLine(Object ncfile, Object ncVariable, Object Centre) { return mcr.EvaluateFunction("InterpolateToLine", ncfile, ncVariable, Centre); } /// /// Provides a single output, 4-input Objectinterface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// An Object containing the first output argument. /// public Object InterpolateToLine(Object ncfile, Object ncVariable, Object Centre, Object Vertex) { return mcr.EvaluateFunction("InterpolateToLine", ncfile, ncVariable, Centre, Vertex); } /// /// Provides a single output, 5-input Objectinterface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Array of Objects representing the input arguments 5 /// through varargin.length+4 /// An Object containing the first output argument. /// public Object InterpolateToLine(Object ncfile, Object ncVariable, Object Centre, Object Vertex, params Object[] varargin) { Object[] argsIn= {ncfile, ncVariable, Centre, Vertex, varargin}; return mcr.EvaluateFunction("InterpolateToLine", argsIn); } /// /// Provides the standard 0-input Object interface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// The number of output arguments to return. /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] InterpolateToLine(int numArgsOut) { return mcr.EvaluateFunction(numArgsOut, "InterpolateToLine", new Object[]{}); } /// /// Provides the standard 1-input Object interface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// The number of output arguments to return. /// Input argument #1 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] InterpolateToLine(int numArgsOut, Object ncfile) { return mcr.EvaluateFunction(numArgsOut, "InterpolateToLine", ncfile); } /// /// Provides the standard 2-input Object interface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] InterpolateToLine(int numArgsOut, Object ncfile, Object ncVariable) { return mcr.EvaluateFunction(numArgsOut, "InterpolateToLine", ncfile, ncVariable); } /// /// Provides the standard 3-input Object interface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] InterpolateToLine(int numArgsOut, Object ncfile, Object ncVariable, Object Centre) { return mcr.EvaluateFunction(numArgsOut, "InterpolateToLine", ncfile, ncVariable, Centre); } /// /// Provides the standard 4-input Object interface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] InterpolateToLine(int numArgsOut, Object ncfile, Object ncVariable, Object Centre, Object Vertex) { return mcr.EvaluateFunction(numArgsOut, "InterpolateToLine", ncfile, ncVariable, Centre, Vertex); } /// /// Provides the standard 5-input Object interface to the InterpolateToLine /// M-function. /// /// /// M-Documentation: /// Calculate coordinates of line /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Array of Objects representing the input arguments 5 /// through varargin.length+4 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] InterpolateToLine(int numArgsOut, Object ncfile, Object ncVariable, Object Centre, Object Vertex, params Object[] varargin) { Object[] argsIn= {ncfile, ncVariable, Centre, Vertex, varargin}; return mcr.EvaluateFunction(numArgsOut, "InterpolateToLine", argsIn); } /// /// Provides a single output, 0-input Objectinterface to the PlotTimeSeries /// M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// An Object containing the first output argument. /// public Object PlotTimeSeries() { return mcr.EvaluateFunction("PlotTimeSeries", new Object[]{}); } /// /// Provides a single output, 1-input Objectinterface to the PlotTimeSeries /// M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// Input argument #1 /// An Object containing the first output argument. /// public Object PlotTimeSeries(Object ncfile) { return mcr.EvaluateFunction("PlotTimeSeries", ncfile); } /// /// Provides a single output, 2-input Objectinterface to the PlotTimeSeries /// M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// Input argument #1 /// Input argument #2 /// An Object containing the first output argument. /// public Object PlotTimeSeries(Object ncfile, Object ncVariable) { return mcr.EvaluateFunction("PlotTimeSeries", ncfile, ncVariable); } /// /// Provides a single output, 3-input Objectinterface to the PlotTimeSeries /// M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// An Object containing the first output argument. /// public Object PlotTimeSeries(Object ncfile, Object ncVariable, Object startDay) { return mcr.EvaluateFunction("PlotTimeSeries", ncfile, ncVariable, startDay); } /// /// Provides a single output, 4-input Objectinterface to the PlotTimeSeries /// M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// An Object containing the first output argument. /// public Object PlotTimeSeries(Object ncfile, Object ncVariable, Object startDay, Object startTime) { return mcr.EvaluateFunction("PlotTimeSeries", ncfile, ncVariable, startDay, startTime); } /// /// Provides a single output, 5-input Objectinterface to the PlotTimeSeries /// M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// An Object containing the first output argument. /// public Object PlotTimeSeries(Object ncfile, Object ncVariable, Object startDay, Object startTime, Object stopDay) { return mcr.EvaluateFunction("PlotTimeSeries", ncfile, ncVariable, startDay, startTime, stopDay); } /// /// Provides a single output, 6-input Objectinterface to the PlotTimeSeries /// M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// Input argument #6 /// An Object containing the first output argument. /// public Object PlotTimeSeries(Object ncfile, Object ncVariable, Object startDay, Object startTime, Object stopDay, Object stopTime) { return mcr.EvaluateFunction("PlotTimeSeries", ncfile, ncVariable, startDay, startTime, stopDay, stopTime); } /// /// Provides a single output, 7-input Objectinterface to the PlotTimeSeries /// M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// Input argument #6 /// Array of Objects representing the input arguments 7 /// through varargin.length+6 /// An Object containing the first output argument. /// public Object PlotTimeSeries(Object ncfile, Object ncVariable, Object startDay, Object startTime, Object stopDay, Object stopTime, params Object[] varargin) { Object[] argsIn= {ncfile, ncVariable, startDay, startTime, stopDay, stopTime, varargin}; return mcr.EvaluateFunction("PlotTimeSeries", argsIn); } /// /// Provides the standard 0-input Object interface to the PlotTimeSeries M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// The number of output arguments to return. /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] PlotTimeSeries(int numArgsOut) { return mcr.EvaluateFunction(numArgsOut, "PlotTimeSeries", new Object[]{}); } /// /// Provides the standard 1-input Object interface to the PlotTimeSeries M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// The number of output arguments to return. /// Input argument #1 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] PlotTimeSeries(int numArgsOut, Object ncfile) { return mcr.EvaluateFunction(numArgsOut, "PlotTimeSeries", ncfile); } /// /// Provides the standard 2-input Object interface to the PlotTimeSeries M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] PlotTimeSeries(int numArgsOut, Object ncfile, Object ncVariable) { return mcr.EvaluateFunction(numArgsOut, "PlotTimeSeries", ncfile, ncVariable); } /// /// Provides the standard 3-input Object interface to the PlotTimeSeries M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] PlotTimeSeries(int numArgsOut, Object ncfile, Object ncVariable, Object startDay) { return mcr.EvaluateFunction(numArgsOut, "PlotTimeSeries", ncfile, ncVariable, startDay); } /// /// Provides the standard 4-input Object interface to the PlotTimeSeries M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] PlotTimeSeries(int numArgsOut, Object ncfile, Object ncVariable, Object startDay, Object startTime) { return mcr.EvaluateFunction(numArgsOut, "PlotTimeSeries", ncfile, ncVariable, startDay, startTime); } /// /// Provides the standard 5-input Object interface to the PlotTimeSeries M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] PlotTimeSeries(int numArgsOut, Object ncfile, Object ncVariable, Object startDay, Object startTime, Object stopDay) { return mcr.EvaluateFunction(numArgsOut, "PlotTimeSeries", ncfile, ncVariable, startDay, startTime, stopDay); } /// /// Provides the standard 6-input Object interface to the PlotTimeSeries M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// Input argument #6 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] PlotTimeSeries(int numArgsOut, Object ncfile, Object ncVariable, Object startDay, Object startTime, Object stopDay, Object stopTime) { return mcr.EvaluateFunction(numArgsOut, "PlotTimeSeries", ncfile, ncVariable, startDay, startTime, stopDay, stopTime); } /// /// Provides the standard 7-input Object interface to the PlotTimeSeries M-function. /// /// /// M-Documentation: /// function outputPng = PlotTimeSeries(ncfile,ncVariable, startDay, startTime, /// stopDay, stopTime,varargin) /// Convert to datenum /// start = datenum([startDay ' ' startTime]); convert to string with /// datestr(t1,31) /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// Input argument #6 /// Array of Objects representing the input arguments 7 /// through varargin.length+6 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] PlotTimeSeries(int numArgsOut, Object ncfile, Object ncVariable, Object startDay, Object startTime, Object stopDay, Object stopTime, params Object[] varargin) { Object[] argsIn= {ncfile, ncVariable, startDay, startTime, stopDay, stopTime, varargin}; return mcr.EvaluateFunction(numArgsOut, "PlotTimeSeries", argsIn); } /// /// Provides a single output, 0-input Objectinterface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// An Object containing the first output argument. /// public Object WaveTransformationTable() { return mcr.EvaluateFunction("WaveTransformationTable", new Object[]{}); } /// /// Provides a single output, 1-input Objectinterface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// Input argument #1 /// An Object containing the first output argument. /// public Object WaveTransformationTable(Object startDay) { return mcr.EvaluateFunction("WaveTransformationTable", startDay); } /// /// Provides a single output, 2-input Objectinterface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// Input argument #1 /// Input argument #2 /// An Object containing the first output argument. /// public Object WaveTransformationTable(Object startDay, Object startTime) { return mcr.EvaluateFunction("WaveTransformationTable", startDay, startTime); } /// /// Provides a single output, 3-input Objectinterface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// An Object containing the first output argument. /// public Object WaveTransformationTable(Object startDay, Object startTime, Object stopDay) { return mcr.EvaluateFunction("WaveTransformationTable", startDay, startTime, stopDay); } /// /// Provides a single output, 4-input Objectinterface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// An Object containing the first output argument. /// public Object WaveTransformationTable(Object startDay, Object startTime, Object stopDay, Object stopTime) { return mcr.EvaluateFunction("WaveTransformationTable", startDay, startTime, stopDay, stopTime); } /// /// Provides a single output, 5-input Objectinterface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// An Object containing the first output argument. /// public Object WaveTransformationTable(Object startDay, Object startTime, Object stopDay, Object stopTime, Object lon) { return mcr.EvaluateFunction("WaveTransformationTable", startDay, startTime, stopDay, stopTime, lon); } /// /// Provides a single output, 6-input Objectinterface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// Input argument #6 /// An Object containing the first output argument. /// public Object WaveTransformationTable(Object startDay, Object startTime, Object stopDay, Object stopTime, Object lon, Object lat) { return mcr.EvaluateFunction("WaveTransformationTable", startDay, startTime, stopDay, stopTime, lon, lat); } /// /// Provides a single output, 7-input Objectinterface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// Input argument #6 /// Array of Objects representing the input arguments 7 /// through varargin.length+6 /// An Object containing the first output argument. /// public Object WaveTransformationTable(Object startDay, Object startTime, Object stopDay, Object stopTime, Object lon, Object lat, params Object[] varargin) { Object[] argsIn= {startDay, startTime, stopDay, stopTime, lon, lat, varargin}; return mcr.EvaluateFunction("WaveTransformationTable", argsIn); } /// /// Provides the standard 0-input Object interface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// The number of output arguments to return. /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] WaveTransformationTable(int numArgsOut) { return mcr.EvaluateFunction(numArgsOut, "WaveTransformationTable", new Object[]{}); } /// /// Provides the standard 1-input Object interface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// The number of output arguments to return. /// Input argument #1 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] WaveTransformationTable(int numArgsOut, Object startDay) { return mcr.EvaluateFunction(numArgsOut, "WaveTransformationTable", startDay); } /// /// Provides the standard 2-input Object interface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] WaveTransformationTable(int numArgsOut, Object startDay, Object startTime) { return mcr.EvaluateFunction(numArgsOut, "WaveTransformationTable", startDay, startTime); } /// /// Provides the standard 3-input Object interface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] WaveTransformationTable(int numArgsOut, Object startDay, Object startTime, Object stopDay) { return mcr.EvaluateFunction(numArgsOut, "WaveTransformationTable", startDay, startTime, stopDay); } /// /// Provides the standard 4-input Object interface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] WaveTransformationTable(int numArgsOut, Object startDay, Object startTime, Object stopDay, Object stopTime) { return mcr.EvaluateFunction(numArgsOut, "WaveTransformationTable", startDay, startTime, stopDay, stopTime); } /// /// Provides the standard 5-input Object interface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] WaveTransformationTable(int numArgsOut, Object startDay, Object startTime, Object stopDay, Object stopTime, Object lon) { return mcr.EvaluateFunction(numArgsOut, "WaveTransformationTable", startDay, startTime, stopDay, stopTime, lon); } /// /// Provides the standard 6-input Object interface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// Input argument #6 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] WaveTransformationTable(int numArgsOut, Object startDay, Object startTime, Object stopDay, Object stopTime, Object lon, Object lat) { return mcr.EvaluateFunction(numArgsOut, "WaveTransformationTable", startDay, startTime, stopDay, stopTime, lon, lat); } /// /// Provides the standard 7-input Object interface to the WaveTransformationTable /// M-function. /// /// /// M-Documentation: /// WAVETRANSFORMATIONTABLE wrapper function for Transform /// THis calls Transform which uses waveRose. WaveRose is not a public /// function and therefore not part of this repos. To compile the code /// successfully one should add the waveRose function to the search path /// when compiling. /// Syntax: /// outputPng = WaveTransformationTable(startTime,stopTime,lon,lat,varargin) /// Input: /// startTime = the start time as a string in the form "11/10/1980" /// endTime = the end time as a string in the form "11/10/1980" /// lon / lat = a double with the longitude or latitude /// varargin = can contain a directory name that is used to publish the /// result files /// Output: /// outputPng = path of the output file(s) /// Example /// WaveTransformationTable /// See also Transform /// /// The number of output arguments to return. /// Input argument #1 /// Input argument #2 /// Input argument #3 /// Input argument #4 /// Input argument #5 /// Input argument #6 /// Array of Objects representing the input arguments 7 /// through varargin.length+6 /// An Array of length "numArgsOut" containing the output /// arguments. /// public Object[] WaveTransformationTable(int numArgsOut, Object startDay, Object startTime, Object stopDay, Object stopTime, Object lon, Object lat, params Object[] varargin) { Object[] argsIn= {startDay, startTime, stopDay, stopTime, lon, lat, varargin}; return mcr.EvaluateFunction(numArgsOut, "WaveTransformationTable", argsIn); } /// /// This method will cause a MATLAB figure window to behave as a modal dialog box. /// The method will not return until all the figure windows associated with this /// component have been closed. /// /// /// An application should only call this method when required to keep the /// MATLAB figure window from disappearing. Other techniques, such as calling /// Console.ReadLine() from the application should be considered where /// possible. /// public void WaitForFiguresToDie() { mcr.WaitForFiguresToDie(); } #endregion Methods #region Class Members private static MWMCR mcr= null; private bool disposed= false; #endregion Class Members } }