"Hamidreza" wrote in message <email@example.com>... > in the code that i am developing (dealing with much numerical computations), it has becomde necessary for me to write a mex file which at some point in its execution fires up temporarily a matlab engine for part of the calculations. > > Matlab Standalone --> my code (mex) --> Matlab engine > > this setting seem not to be working, unless i break the last tie. > Is there any particular reason why this does not work, and is there a way/setting/etc to make it work? > > p.s. the mex code is developed under visual studio c++
I have done this in the past and it worked for me. Can you post a small example code that gives you the problem?