Info
This question is closed. Reopen it to edit or answer.
mclmcrInitialize crash in visual studio
1 view (last 30 days)
Show older comments
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 !!!
1 Comment
Answers (0)
This question is closed.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!