亚洲AV日韩AV无码污污网站_亚洲欧美国产精品久久久久久久_欧美日韩一区二区视频不卡_丰满无码人妻束缚无码区_久爱WWW成人网免费视频

切換到寬版
  • 廣告投放
  • 稿件投遞
  • 繁體中文
    • 2542閱讀
    • 2回復(fù)

    [求助]FRED軟件能否用其他軟件調(diào)用,比如VisualC++,.net等 [復(fù)制鏈接]

    上一主題 下一主題
    離線blackdoll
     
    發(fā)帖
    6
    光幣
    7
    光券
    0
    只看樓主 倒序閱讀 樓主  發(fā)表于: 2013-09-18
    如題, 在demo軟件中,沒看到類似問題的幫助文檔,哪位大俠用過,FRED有沒有提供接口供其它軟件調(diào)用,有的話順便給個文檔介紹或是指條路啊 ch8VJ^%Ra1  
    `'s_5Ek  
     
    分享到
    離線崔粵鵬
    發(fā)帖
    349
    光幣
    2957
    光券
    0
    只看該作者 1樓 發(fā)表于: 2014-08-21
    FRED可以與MATLAB 、EXCEL建立接口,支持VB語言,且其腳本是以VB語言編寫的,編程非常順手 :4zPYG o  
    以下是FRED手冊給出的 %BC%fVdP  
    ,5zY1C==Ut  
    FRED can act as an OLE automation server, which means that FRED can be run remotely from other applications such as Microsoft Visual Basic, Microsoft Excel, Matlab, or any other application that can act as an OLE/Automation client.  In  this configuration, FRED is the automation server and the application which is controlling FRED is the automation client.  The following information describes the fundamentals of how to run FRED as an automation server. B`QF;,3S  
    http://fred-kb.photonengr.com/2011/08/16/fred-automation-with-matlab/ S=P}Jpq?Y;  
    此網(wǎng)站是FRED原廠知識庫中如何與matlab接口 WILa8"M  
    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: C2R"96M7q  
    sBZn0h@  
    In MATLAB: O83J[YuzjN  
    ;cf$u}+  
    Start an instance of MATLAB =b$g_+  
    Execute the command: enableservice(‘AutomationServer’,true) :i>LESJq  
    Execute the command: enableservice(‘AutomationServer’) 0Lj;t/mG  
    In FRED: {Yxvb**  
    8US35t:M  
    Right mouse click in the script editor and choose: Edit > References 4OM ]8I!  
    Choose the Matlab Type Library (+v':KH3_  
    Dimension your Matlab object in the script as type MLApp.MLApp :a Cf@:']  
    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. &c-V QP(  
    Po=:-Of:  
    The example enbedded script in the sample file with this article demonstrates how to use some of the following Matlab application commands: !KXcg9e  
    ;sA 5&a>!  
    PutWorkspaceData: send real-valued data to Matlab L$c 1<7LU  
    PutFullMatrix: send complex-valued data to Matlab N_:!uR  
    GetWorkspaceData: retrieve data from Matlab ]uhG&: }  
    Execute: issue Matlab commands to the server for execution
    描述:接口
    附件: fredToMatlab.zip (6 K) 下載次數(shù):4
    離線fruitrabbit
    發(fā)帖
    28
    光幣
    7
    光券
    0
    只看該作者 2樓 發(fā)表于: 2015-10-29
    正好需要,抱走啦,多謝多謝