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

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

    上一主題 下一主題
    離線blackdoll
     
    發(fā)帖
    6
    光幣
    7
    光券
    0
    只看樓主 倒序閱讀 樓主  發(fā)表于: 2013-09-18
    如題, 在demo軟件中,沒(méi)看到類似問(wèn)題的幫助文檔,哪位大俠用過(guò),FRED有沒(méi)有提供接口供其它軟件調(diào)用,有的話順便給個(gè)文檔介紹或是指條路啊 {[Uti^)m%  
    !(W[!%  
     
    分享到
    離線崔粵鵬
    發(fā)帖
    349
    光幣
    2957
    光券
    0
    只看該作者 1樓 發(fā)表于: 2014-08-21
    FRED可以與MATLAB 、EXCEL建立接口,支持VB語(yǔ)言,且其腳本是以VB語(yǔ)言編寫的,編程非常順手 Z?-;.G*  
    以下是FRED手冊(cè)給出的 '[%jjUU  
    Qr<AV:  
    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. )W#T2Z>N1  
    http://fred-kb.photonengr.com/2011/08/16/fred-automation-with-matlab/  +.=1^+a  
    此網(wǎng)站是FRED原廠知識(shí)庫(kù)中如何與matlab接口 \Ps5H5Qk;  
    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: 3eWJt\}?B  
    vlvvi()  
    In MATLAB: xg?auje  
    rjXnDh]MC  
    Start an instance of MATLAB C1 tb`  
    Execute the command: enableservice(‘AutomationServer’,true) l(#1mY5!q8  
    Execute the command: enableservice(‘AutomationServer’) u >4ArtF  
    In FRED: d bCNhbN(  
    w~]T<^fW~  
    Right mouse click in the script editor and choose: Edit > References zOL;"/R  
    Choose the Matlab Type Library ]Y{,N