FRED可以与MATLAB 、EXCEL建立接口,支持VB语言,且其脚本是以VB语言编写的,编程非常顺手
ai[st+1 以下是FRED手册给出的
};!S2+ n\&[^Q#b| 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.
<<K G S http://fred-kb.photonengr.com/2011/08/16/fred-automation-with-matlab/ BKe~y 此网站是FRED原厂知识库中如何与matlab接口
VqLqj$P 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:
U#R=y:O? k2muHKBlk In MATLAB:
FS30RP3
`/ _c?&G` Start an instance of MATLAB
yU3fM?a Execute the command: enableservice(‘AutomationServer’,true)
P#bZtWx'<N Execute the command: enableservice(‘AutomationServer’)
w$4fS In FRED:
@D&V