We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

Matlab Engine from Add on

Anonymous
Not applicable
Hey,

I would like to call the Matlab Engine, but when I call

Engine *ep;
ep = engOpen(NULL);
then I succeed to compile, but the Add-on doesn't load anymore. (I use an example provided by Matlab) I have the required libs in the solution explorer, and windows.h and engine.h is in the header.

Any ideas what could be the problem?

Cheers,
Andor
2 REPLIES 2
Anonymous
Not applicable
Why are you passing NULL as a parameter? I think there would be a SIGSEGV and your addon crash immedialety, that is why it is not loaded.
Anonymous
Not applicable
Thanks for the reply, I solved it..

NULL is required by Matlab, it has a sample application. I had to set the PATH, so know everything loads.