cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

Matlab Engine from Add on

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
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.
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.