请教matlab转C++# Programming - 葵花宝典
G*A
1 楼
应该是用mcc命令把.m文件编成.cpp文件。我用的是mcc -p xxx.m
结果为以下提示:[28] matlab.exe:_WinMa
inCRTStartup(0x03a1df4c, 24, 0x7ffd7000, 0x8054c038) + 308 bytes
[29] kernel32.dll:0x7c816d4f(0x0047172c, 0, 0, 0)
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
If it is an official MathWorks function, please
follow these steps in rep
结果为以下提示:[28] matlab.exe:_WinMa
inCRTStartup(0x03a1df4c, 24, 0x7ffd7000, 0x8054c038) + 308 bytes
[29] kernel32.dll:0x7c816d4f(0x0047172c, 0, 0, 0)
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
If it is an official MathWorks function, please
follow these steps in rep