Info

此问题已关闭。 请重新打开它进行编辑或回答。

mclmcrInitialize crash in visual studio

1 次查看(过去 30 天)
i compiled simple function :
---------------------
function [y] = *foo*(a,b)
y=a+b;
-----------------------
mcc -W cpplib:libmfoo -T link:lib foo.m -v
i create project console application in c++ , included all needed libraries also inserted dll intorun directory and arrange system path
when i call
mclmcrInitialize();
visual studio 2010 crashed
i try to call mclInitializeApplication(NULL,0); before but still it not helped
i haver 3 libs
*libfoo.lib
mclmcrrt.lib
mclmcr.lib*
it stops at mainret = main(argc, argv, envp);
---------
when i use in command line
mbuild test.cpp libmfoo.lib
and run test the application worked and printed the results !!1
anybody can help me urgent !!!

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by