1.执行mcc -W lib:liba -T link:lib  oula 生成liba.dll及头文件
2.编译以下c代码,该代码写了一个mxMatDbl类

c++调用matlab// callMatlab.cpp : Defines the entry point for the console application.
c++调用matlab
//
c++调用matlab

c++调用matlab#include 
"stdafx.h"
c++调用matlab#include 
<windows.h>
c++调用matlab#include 
<matrix.h>
c++调用matlab#include 
"../liba.h"
c++调用matlab
c++调用matlab
class mxMatDbl

相关文章:

  • 2021-06-16
  • 2021-05-04
  • 2021-12-06
  • 2021-11-29
  • 2021-12-18
  • 2021-06-04
  • 2021-10-25
猜你喜欢
  • 2022-12-23
  • 2021-06-18
  • 2021-08-24
  • 2021-11-11
  • 2021-07-22
  • 2021-07-18
  • 2021-06-24
相关资源
相似解决方案