登录
首页 » c » matlab调用c的相和Mex程序

matlab调用c的相和Mex程序

于 2022-03-20 发布 文件大小:6.19 kB
0 50
下载积分: 2 下载次数: 1

代码说明:

在matlab中安装mex,然后就可以把c文件放在matlab中编译成mex文件,这个mex文件就可以作为matlab的一个command使用,可以返回一个double型的矩阵回来。 以下是百度百科的定义: .MEX文件是一种可在matlab环境中调用的C(或fortran)语言衍生程序,MEX文件的后缀名按32位/64位分别为 .mexw32/.mexw64。MEX文件是由C或Fortran语言编写的源代码,经matlab编译器处理而生成的二进制文件。它是可以被matlab解释器自动装载并执行的动态链接程序,类似windows下的dll文件。 MEX文件实现了一种其它语言与MATLAB的接口,通过MEX文件可以在MATLAB中像调用内嵌函数一样调用使用C语言和Fortran等语言编写的函数,实现了代码重用,同时也能提高MATLAB环境中数据处理的效率。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • STM32-Copter-RTThread-code
    匿名飞控源码 使用Rtt系统写的源码 效果不错(stm32 copter code)
    2021-03-29 14:39:11下载
    积分:1
  • FOC控制理论(超好)
    说明:  电机控制FOC算法理论,简单易懂,初学首选。(The theory of FOC algorithm for motor control is simple and easy to understand. First choice for beginners.)
    2021-04-27 13:08:44下载
    积分:1
  • MSP430G2553_ADC
    基于msp430g2553单片机的ADC数据采集程序,同时将采集到的数据存入到flash中,并且可以通过串口发送数据。是不可多得的430代码模板。(Based msp430g2553 microcontroller ADC data collection procedures, and the collected data are stored into the flash memory, and can send data through the serial port. Is a rare 430 code templates.)
    2021-01-29 22:58:36下载
    积分:1
  • SuperSocket.ClientEngine-master(1)
    SuperSocket ClientEngine
    2018-12-27 14:46:01下载
    积分:1
  • opal-3.6.6.tar
    audio streaming source code
    2010-08-11 19:04:42下载
    积分:1
  • opnet_aloha
    实例 用Modeler搭建一个ALOHA协议仿真平台,进一步熟悉Modeler节点级和进程级的操作,深化三层建模机制。(进程->节点->网络) (Examples ALOHA protocol with Modeler to build a simulation platform to further familiarize Modeler node level and process-level operations, deepening three modeling mechanism. (Process-> Node-> Network))
    2014-01-05 17:08:34下载
    积分:1
  • Astar寻路算法包含可执行程序
    A*算法路径规划的具体实现,内包含形象的示例程序,适合学习使用。初学者用此程序即可相当快速掌握A*算法。
    2022-02-05 04:52:09下载
    积分:1
  • pipe
    linux进程间通信,无名管道pipe,使用的两个文件的描述符。fd[0]:读管道,fd[1]:写管道(Linux interprocess communication, anonymous pipe pipe,The descriptor of the two files used. Fd[0]read the pipe, fd[1]write the pipe)
    2018-07-04 10:21:23下载
    积分:1
  • bomb
    It s a game you have to find out where the bombs are. Hope you Enjoy it.
    2011-04-25 00:29:19下载
    积分:1
  • 单像空间后方交会c++程序代码
    武汉大学摄影测量原理课后练习空间后方交会作业,C++编程实现单像空间后方交会算法,并根据实验数据输出结果,并进行精度评定
    2022-05-05 09:38:43下载
    积分:1
  • 696522资源总数
  • 104049会员总数
  • 30今日下载