老司机午夜精品_国产精品高清免费在线_99热点高清无码中文字幕_在线观看国产成人AV天堂_中文字幕国产91

切換到寬版
  • 廣告投放
  • 稿件投遞
  • 繁體中文
  • 離線崔粵鵬
     
    發(fā)帖
    349
    光幣
    2957
    光券
    0
    只看樓主 倒序閱讀 樓主  發(fā)表于: 2014-08-21
    FRED可與Matlab Excel接口,并可支持VB腳本語言編程。 K1V#cB WO  
    "cTncL  
    FRED can act as an OLE automation server, which means that FRED canbe run remotely from other applications such as Microsoft Visual Basic,Microsoft Excel, Matlab, or any other application that can act as anOLE/Automation client.  In  this configuration, FRED is the automation serverand the application which is controlling FRED is the automation client.  Thefollowing information describes the fundamentals of how to run FRED as anautomation server. 3nY1[,  
    下面是FRED原廠photon engineering與Matlab并行使用的接口連接,有興趣的可以看下 jBaB@LO9G  
    2F%W8Y 3  
    FRED Automation with Matlab Soie^$ Y  
    {lth+{&L#  
    Using FRED’s COM interface it is possible to exchange data with external programs such as MATLAB and Excel.  This article presents an example where FRED and MATLAB are used respectively as the automation client and server in order to exchange data and create plots.  There are a few steps that should be taken both in FRED and MATLAB before executing your script: DzQ1%!  
    In MATLAB:  0l;<5  
    Start an instance of MATLAB T#pk]c6Q  
    Execute the command: enableservice(‘AutomationServer’,true) B?$ "\;&  
    Execute the command: enableservice(‘AutomationServer’) b3wM;jv  
    In FRED: 0Z|FZGRP  
    Right mouse click in the script editor and choose: Edit > References FWH}j0Gj|  
    Choose the Matlab Type Library ^m_yf|D$  
    Dimension your Matlab object in the script as type MLApp.MLApp X=8Y&#%  
    The above steps will ensure that 1) FRED uses the current instance of MATLAB as the server instead of the command console, and 2) FRED loads the Matlab type library and can recognize and execute the server’s application commands.  In general, it is not necessary to load the Matlab type library in FRED since the Matlab server can be generically defined as an Object. = 8gHS[  
    i{D=l7j|w  
    The example enbedded script in the sample file with this article demonstrates how to use some of the following Matlab application commands: c!8=lrT.  
    PutWorkspaceData: send real-valued data to Matlab #YDr%>j  
    PutFullMatrix: send complex-valued data to Matlab @"T"7c?Cv  
    GetWorkspaceData: retrieve data from Matlab lnE+Au'  
    Execute: issue Matlab commands to the server for execution 1<ro7A4hK  
    PSawMPw  
    鏈接:http://fred-kb.photonengr.com/2011/08/16/fred-automation-with-matlab/  
     
    分享到