MATLAB Answers

Info

This question is closed. Reopen it to edit or answer.

Running Matlab Engine from C with VS Express 2010 and Matlab R2010a

1 view (last 30 days)
Abe
Abe on 2 Jul 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi,
I want to run Matlab Engine from within C using VS Express 2010. I use Matlab 32 bit and created a C project for 32 bit also. I tried running Matlab example "engdemo.c" by following the direction described in the link: http://www.mathworks.com/support/solutions/en/data/1-78077S/ I have checked myself few times to make sure I do it correctly, but unfortunately, I got an error: "fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory". Did anyone encountered this problem ?
P.S, I succeeded, however, to compile it as an exe file using the following directions: http://www.mathworks.com/help/matlab/matlab_external/compiling-engine-applications-with-the-mex-command.html

Answers (0)

Community Treasure Hunt

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

Start Hunting!