亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? plotternative.cs

?? 開發環境: Matlab Version 7.8.0.347(R2009a) Visual Studio 2005(.NET 2.0, C#) 演示如何在ASP.NET(C#)網頁中調用MATL
?? CS
字號:
/*
* MATLAB Compiler: 4.10 (R2009a)
* Date: Wed May 13 09:41:13 2009
* Arguments: "-B" "macro_default" "-W" "dotnet:PlotComp,Plotter,0.0,private" "-d"
* "D:\FDTD_Matlab\學習資料\Matlab_Csharp\PlotComp\src" "-T" "link:lib" "-v"
* "class{Plotter:D:\FDTD_Matlab\學習資料\Matlab_Csharp\drawgraph.m}" 
*/

using System;
using System.Reflection;
using System.IO;
using MathWorks.MATLAB.NET.Arrays;
using MathWorks.MATLAB.NET.Utility;
using MathWorks.MATLAB.NET.ComponentData;
#if SHARED
[assembly: System.Reflection.AssemblyKeyFile(@"")]
#endif

namespace PlotCompNative
{
  /// <summary>
  /// The Plotter class provides a CLS compliant, Object (native) interface to the
  /// M-functions contained in the files:
  /// <newpara></newpara>
  /// D:\FDTD_Matlab\學習資料\Matlab_Csharp\drawgraph.m
  /// <newpara></newpara>
  /// deployprint.m
  /// <newpara></newpara>
  /// printdlg.m
  /// </summary>
  /// <remarks>
  /// @Version 0.0
  /// </remarks>
  public class Plotter : IDisposable
  {
      #region Constructors

      /// <summary internal= "true">
      /// The static constructor instantiates and initializes the MATLAB Component
      /// Runtime instance.
      /// </summary>
      static Plotter()
      {
          if (MWMCR.MCRAppInitialized)
          {
              Assembly assembly= Assembly.GetExecutingAssembly();

              string ctfFilePath= assembly.Location;

              int lastDelimiter= ctfFilePath.LastIndexOf(@"\");

              ctfFilePath= ctfFilePath.Remove(lastDelimiter, (ctfFilePath.Length - lastDelimiter));

              string ctfFileName = MCRComponentState.MCC_PlotComp_name_data + ".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(MCRComponentState.MCC_PlotComp_name_data,
                             MCRComponentState.MCC_PlotComp_root_data,
                             MCRComponentState.MCC_PlotComp_public_data,
                             MCRComponentState.MCC_PlotComp_session_data,
                             MCRComponentState.MCC_PlotComp_matlabpath_data,
                             MCRComponentState.MCC_PlotComp_classpath_data,
                             MCRComponentState.MCC_PlotComp_libpath_data,
                             MCRComponentState.MCC_PlotComp_mcr_application_options,
                             MCRComponentState.MCC_PlotComp_mcr_runtime_options,
                             MCRComponentState.MCC_PlotComp_mcr_pref_dir,
                             MCRComponentState.MCC_PlotComp_set_warning_state,
                             ctfFilePath, embeddedCtfStream, true);
          }
          else
          {
              throw new ApplicationException("MWArray assembly could not be initialized");
          }
      }


      /// <summary>
      /// Constructs a new instance of the Plotter class.
      /// </summary>
      public Plotter()
      {
      }


      #endregion Constructors

      #region Finalize

      /// <summary internal= "true">
      /// Class destructor called by the CLR garbage collector.
      /// </summary>
      ~Plotter()
      {
          Dispose(false);
      }


      /// <summary>
      /// Frees the native resources associated with this object
      /// </summary>
      public void Dispose()
      {
          Dispose(true);

          GC.SuppressFinalize(this);
      }


      /// <summary internal= "true">
      /// Internal dispose function
      /// </summary>
      protected virtual void Dispose(bool disposing)
      {
          if (!disposed)
          {
              disposed= true;

              if (disposing)
              {
                  // Free managed resources;
              }

              // Free native resources
          }
      }


      #endregion Finalize

      #region Methods

      /// <summary>
      /// Provides a void output, 0-input Object interface to the drawgraph M-function.
      /// </summary>
      /// <remarks>
      /// M-Documentation:
      /// DRAWGRAPH Plot a curve from the specified x and y coordinates contained in the
      /// coords array.
      /// DRAWGRAPH (coords) Plots a curve from the specified coordinate values 
      /// in a MATLAB figure window.
      /// This file is used as an example for the MATLAB Builder NE product.
      /// </remarks>
      ///
      public void drawgraph()
      {
          mcr.EvaluateFunction(0, "drawgraph", new Object[]{});
      }


      /// <summary>
      /// Provides a void output, 1-input Object interface to the drawgraph M-function.
      /// </summary>
      /// <remarks>
      /// M-Documentation:
      /// DRAWGRAPH Plot a curve from the specified x and y coordinates contained in the
      /// coords array.
      /// DRAWGRAPH (coords) Plots a curve from the specified coordinate values 
      /// in a MATLAB figure window.
      /// This file is used as an example for the MATLAB Builder NE product.
      /// </remarks>
      /// <param name="coords">Input argument #1</param>
      ///
      public void drawgraph(Object coords)
      {
          mcr.EvaluateFunction(0, "drawgraph", coords);
      }


      /// <summary>
      /// Provides the standard 0-input Object interface to the drawgraph M-function.
      /// </summary>
      /// <remarks>
      /// M-Documentation:
      /// DRAWGRAPH Plot a curve from the specified x and y coordinates contained in the
      /// coords array.
      /// DRAWGRAPH (coords) Plots a curve from the specified coordinate values 
      /// in a MATLAB figure window.
      /// This file is used as an example for the MATLAB Builder NE product.
      /// </remarks>
      /// <param name="numArgsOut">The number of output arguments to return.</param>
      /// <returns>An Array of length "numArgsOut" containing the output
      /// arguments.</returns>
      ///
      public Object[] drawgraph(int numArgsOut)
      {
          return mcr.EvaluateFunction(numArgsOut, "drawgraph", new Object[]{});
      }


      /// <summary>
      /// Provides the standard 1-input Object interface to the drawgraph M-function.
      /// </summary>
      /// <remarks>
      /// M-Documentation:
      /// DRAWGRAPH Plot a curve from the specified x and y coordinates contained in the
      /// coords array.
      /// DRAWGRAPH (coords) Plots a curve from the specified coordinate values 
      /// in a MATLAB figure window.
      /// This file is used as an example for the MATLAB Builder NE product.
      /// </remarks>
      /// <param name="numArgsOut">The number of output arguments to return.</param>
      /// <param name="coords">Input argument #1</param>
      /// <returns>An Array of length "numArgsOut" containing the output
      /// arguments.</returns>
      ///
      public Object[] drawgraph(int numArgsOut, Object coords)
      {
          return mcr.EvaluateFunction(numArgsOut, "drawgraph", coords);
      }


      /// <summary>
      /// 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.
      /// </summary>
      /// <remarks>
      /// 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.</remarks>
      ///
      public void WaitForFiguresToDie()
      {
          mcr.WaitForFiguresToDie();
      }


      
      #endregion Methods

      #region Class Members

      private static MWMCR mcr= null;

      private bool disposed= false;

      #endregion Class Members
  }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩中文国产| 久久99精品久久久久久久久久久久| 国产精品羞羞答答xxdd| 欧美sm美女调教| 国产一区欧美日韩| 亚洲国产精华液网站w| 成人丝袜18视频在线观看| 一区精品在线播放| 在线免费观看视频一区| 丝袜美腿成人在线| 久久夜色精品国产噜噜av| 成人一级黄色片| 亚洲综合成人在线视频| 91精选在线观看| 国产a级毛片一区| 亚洲欧美欧美一区二区三区| 欧美性videosxxxxx| 久久国产日韩欧美精品| 国产欧美日韩中文久久| 一本一本大道香蕉久在线精品 | 欧美性视频一区二区三区| 亚洲成人av中文| 精品欧美一区二区三区精品久久 | wwww国产精品欧美| 大美女一区二区三区| 亚洲午夜国产一区99re久久| 欧美成人三级在线| 色综合久久综合网欧美综合网| 亚洲成a人片在线不卡一二三区| 精品国产91九色蝌蚪| 91麻豆国产福利精品| 视频一区二区国产| 国产精品嫩草影院com| 欧美日韩三级在线| 成人午夜在线视频| 午夜久久久久久| 中文字幕av资源一区| 51午夜精品国产| 成人app下载| 美女爽到高潮91| 一区二区不卡在线视频 午夜欧美不卡在| 日韩欧美一区中文| 91女厕偷拍女厕偷拍高清| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲一二三区不卡| 欧美激情一区二区三区全黄| 制服.丝袜.亚洲.另类.中文| av色综合久久天堂av综合| 青草av.久久免费一区| 亚洲欧美激情小说另类| 国产亚洲欧美中文| 制服丝袜中文字幕亚洲| 日本久久电影网| 91免费版在线| 国产成人av一区二区三区在线 | 国产精品一二三四区| 亚洲成人av资源| 亚洲靠逼com| 中文文精品字幕一区二区| 日韩视频免费观看高清完整版 | 国产成人午夜视频| 美女国产一区二区三区| 亚洲福利电影网| 亚洲女与黑人做爰| 国产精品嫩草影院av蜜臀| 精品国产免费人成在线观看| 91麻豆精品国产91久久久久久| 色噜噜狠狠成人中文综合| 99re在线视频这里只有精品| 成人免费黄色大片| 国产成人啪午夜精品网站男同| 国内成人免费视频| 黑人巨大精品欧美黑白配亚洲| 奇米777欧美一区二区| 天使萌一区二区三区免费观看| 亚洲美女偷拍久久| 一区二区免费看| 亚洲影院理伦片| 亚洲午夜三级在线| 午夜伊人狠狠久久| 日韩精品国产欧美| 日韩在线一区二区| 日韩国产高清影视| 蜜桃在线一区二区三区| 麻豆精品国产传媒mv男同| 久久精品噜噜噜成人av农村| 久久99国产精品久久| 成人免费视频一区| 风间由美性色一区二区三区| 丁香婷婷综合激情五月色| 成人性视频免费网站| 91在线小视频| 欧美性大战久久久久久久| 欧美美女喷水视频| 欧美xxxx在线观看| 国产午夜精品在线观看| 国产精品福利影院| 一卡二卡欧美日韩| 奇米色一区二区三区四区| 国产一区欧美二区| 播五月开心婷婷综合| 欧美系列一区二区| 日韩欧美激情四射| 国产精品久久夜| 亚洲一区中文日韩| 美女脱光内衣内裤视频久久影院| 国产永久精品大片wwwapp| av一本久道久久综合久久鬼色| 色吊一区二区三区| 精品国产一区二区亚洲人成毛片| 久久蜜桃香蕉精品一区二区三区| 国产精品久久福利| 午夜日韩在线观看| 国产精品1024久久| 欧美亚洲国产一区在线观看网站| 日韩一区二区三免费高清| 欧美国产激情二区三区 | 亚洲国产成人精品视频| 久久精品99国产国产精| www.66久久| 日韩欧美精品三级| 亚洲日本丝袜连裤袜办公室| 美女一区二区视频| 99精品欧美一区| 91麻豆精品国产自产在线观看一区| 久久久久97国产精华液好用吗| 一片黄亚洲嫩模| 国产成人欧美日韩在线电影| 欧美精选午夜久久久乱码6080| 国产女同性恋一区二区| 日韩一区欧美二区| 99久久99久久免费精品蜜臀| 日韩一区二区精品在线观看| 亚洲天堂免费在线观看视频| 久久99日本精品| 欧美日韩小视频| 17c精品麻豆一区二区免费| 久久99九九99精品| 欧美日韩三级在线| 亚洲精品自拍动漫在线| 国产一区二区三区免费在线观看| 欧美日韩一区二区欧美激情| 国产精品伦理一区二区| 久久国产乱子精品免费女| 欧美性猛交xxxxxx富婆| 成人欧美一区二区三区视频网页| 久久爱另类一区二区小说| 欧美日韩国产精品成人| 亚洲蜜臀av乱码久久精品蜜桃| 国产精品一线二线三线精华| 欧美一级理论性理论a| 亚洲成av人影院| 91黄色免费版| 亚洲欧美一区二区三区久本道91| 国产成人免费视频网站高清观看视频| 欧美人牲a欧美精品| 亚洲精品大片www| 91同城在线观看| 国产精品人妖ts系列视频 | 国产99精品在线观看| 日韩精品一区二区三区视频播放 | 日韩电影一区二区三区四区| 欧美性色综合网| 一区二区三区在线视频观看| 91亚洲精品久久久蜜桃网站| 国产午夜精品一区二区三区视频| 精品在线一区二区三区| 欧美成人女星排行榜| 日本成人在线网站| 日韩欧美一级二级| 久久99国产精品久久99| 欧美va亚洲va| 国产美女视频一区| 中文字幕不卡在线观看| aaa欧美大片| 亚洲人妖av一区二区| 91国偷自产一区二区开放时间| 亚洲精品自拍动漫在线| 欧美视频日韩视频在线观看| 午夜国产精品一区| 欧美一区二区大片| 国产真实乱对白精彩久久| 国产欧美一区二区三区在线看蜜臀 | 成人激情免费视频| 国产精品二三区| 91久久香蕉国产日韩欧美9色| 亚洲蜜臀av乱码久久精品| 欧美天堂亚洲电影院在线播放| 亚洲va国产va欧美va观看| 欧美一级一级性生活免费录像| 久久99精品久久久久久| 国产欧美日韩亚州综合| 色综合天天视频在线观看| 五月婷婷欧美视频| 精品国产一区二区三区忘忧草| 粉嫩绯色av一区二区在线观看| 亚洲免费观看高清完整| 69堂成人精品免费视频| 国产suv精品一区二区6| 亚洲一区二区av在线|