matlab编译

上传人:第*** 文档编号:51505184 上传时间:2018-08-14 格式:PPT 页数:9 大小:105KB
返回 下载 相关 举报
matlab编译_第1页
第1页 / 共9页
matlab编译_第2页
第2页 / 共9页
matlab编译_第3页
第3页 / 共9页
matlab编译_第4页
第4页 / 共9页
matlab编译_第5页
第5页 / 共9页
点击查看更多>>
资源描述

《matlab编译》由会员分享,可在线阅读,更多相关《matlab编译(9页珍藏版)》请在金锄头文库上搜索。

1、MATLAB编译编译类型Stand-alone applications C and C+ shared libraries (dynamically ) Excel add-ins; COM objects; Wrapper FilesPerforms wrapper-specific initialization and termination. Defines data arrays containing path information, encryption keys, and other information needed by the MATLAB Component Runt

2、ime (MCR). Provides the necessary code to forward calls from the interface functions to the MATLAB functions in the MCR. 编译器Lcc C version 2.4 (included with MATLAB). This is a C only compiler; it does not work with C+. Borland C+ versions 5.3, 5.4, 5.5, 5.6, and free 5.5. (You may see references to

3、these compilers as Borland C+Builder versions 3.0, 4.0, 5.0, and 6.0.) Microsoft Visual C/C+ (MSVC) versions 6.0, 7.0, and 7.1Supported ANSI C and C+ LinuxThe MATLAB Compiler supports The GNU C compiler, gcc The systems native ANSI C compiler The GNU C+ compiler, g+编译限制The Lcc C compiler does not su

4、pport C+. The only compilers that support the building of COM objects are Borland C+Builder (versions 3.0, 4.0, 5.0, and 6.0) and Microsoft Visual C/C+ (versions 6.0, 7.0, and 7.1). 编译命令mbuild setup例子function r = mrank(n) r = zeros(n,1); for k = 1:n r(k) = rank(magic(k); end function main r = mrank(5) mcc -m main mrankmcc -W lib:libMultpkg -T link:exe multarg printmatrix multargp.c

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号