成人女人看片免费视频放人_亚洲色精品三区二区一区_欧美亚洲国产精品久久_成人无遮挡裸免费视频在线观看_97SE亚洲国产综合在线_精品久久久久久777米琪桃花_天天躁日日躁很很很躁_色噜噜狠狠一区二区三区果冻_国产免费久久精品国产传媒_67194成是人免费无码


首頁 -> 登錄 -> 注冊(cè) -> 回復(fù)主題 -> 發(fā)表主題
光行天下 -> FRED,VirtualLab -> FRED接口 [點(diǎn)此返回論壇查看本帖完整版本] [打印本頁]

崔粵鵬 2014-08-21 16:23

FRED接口

FRED可與Matlab Excel接口,并可支持VB腳本語言編程。 !P7##ho0  
{~*aXu 3  
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. o E+s8Q  
下面是FRED原廠photon engineering與Matlab并行使用的接口連接,有興趣的可以看下 c5uT'P"  
[3a-1,  
FRED Automation with Matlab 9`J!]WQ1[  
O_*(:Z  
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: C;DNL^  
In MATLAB: ,}M@Am0~  
Start an instance of MATLAB )k F/"'o  
Execute the command: enableservice(‘AutomationServer’,true) |>( @n{  
Execute the command: enableservice(‘AutomationServer’) 5YJn<XEc  
In FRED: - b>"2B?  
Right mouse click in the script editor and choose: Edit > References S7-ka{S  
Choose the Matlab Type Library Vp $]  
Dimension your Matlab object in the script as type MLApp.MLApp Si<9O h  
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. nZ>bOP+,  
t<O5_}R%d  
The example enbedded script in the sample file with this article demonstrates how to use some of the following Matlab application commands: 9I>+Q&   
PutWorkspaceData: send real-valued data to Matlab /^~3Ib8Fw+  
PutFullMatrix: send complex-valued data to Matlab ~Mv@Bl  
GetWorkspaceData: retrieve data from Matlab 'hl>pso.  
Execute: issue Matlab commands to the server for execution t&UPU&tY  
*uR&d;vg.8  
鏈接:http://fred-kb.photonengr.com/2011/08/16/fred-automation-with-matlab/  
查看本帖完整版本: [-- FRED接口 --] [-- top --]

Copyright © 2005-2025 光行天下 蜀ICP備06003254號(hào)-1 網(wǎng)站統(tǒng)計(jì)

南川市| 上犹县| 夏河县| 凤山县| 本溪市| 舟山市| 延津县| 磴口县| 宁国市| 呈贡县| 新绛县| 扎囊县| 乾安县| 普定县| 保亭| 九龙坡区| 敦化市| 宾川县| 类乌齐县| 建湖县| 石城县| 保德县| 深州市| 奉节县| 昌江| 梁山县| 金寨县| 习水县| 丹东市| 威宁| 清徐县| 赣榆县| 绵竹市| 纳雍县| 清原| 启东市| 溧水县| 石渠县| 连南| 双辽市| 印江|