Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

mclmcrInitialize crash in visual studio

4 visualizzazioni (ultimi 30 giorni)
michael scheinfeild
michael scheinfeild il 8 Mag 2013
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 !!!

Risposte (0)

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by