Code covered by the BSD License  

Highlights from
MATLAB for C/C++ Programmers

5.0 | 1 rating Rate this file 33 Downloads (last 30 days) File Size: 7.86 MB File ID: #41989 Version: 1.1

MATLAB for C/C++ Programmers


Adam Filion (view profile)


30 Jul 2013 (Updated )

Files used in webinar MATLAB for C/C++ Programmers.

| Watch this File

File Information

Files used in webinar MATLAB for C/C++ Programmers on May 16, 2013. This webinar can be viewed at

Specific topics include:

- Introduction to the MATLAB environment focusing on algorithm development
- Exchanging data between your running C/C++ application and MATLAB using the MATLAB Engine
- Issuing MATLAB commands from your running C/C++ application to debug your code, test your algorithms, and visualize your data
- Building shared libraries from MATLAB functions for deployment with your application
- Building complete and stand-alone executables from MATLAB functions

Required Products Image Processing Toolbox
MATLAB Compiler
Computer Vision System Toolbox
MATLAB release MATLAB 8.1 (R2013a)
Other requirements View README file after downloading package.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
13 May 2015 Jorge Williams Jiménez Tenesaca  
22 Aug 2013 Neehar moharana


I want to use Matlab linear solver x= A\B in my MSVC C++ code. I tried doing this creating static library through Matlab coder but didn't succeed. Matrix A is 39-by-39 while B is 39-by-1.
Can some one write an example of doing this?

Comment only
01 Aug 2013 R

R (view profile)

Thanks. Another way of doing this is, if you can make engdemo.c or engdemo.cpp work, chances are people can then resolve more issues by themselves in trying to work with your example code which in turn will save you lots of time explaining them in the forum as well.

Comment only
01 Aug 2013 Adam Filion

Adam Filion (view profile)

Hi R,

I appreciate your frustration, I know the setup is not simple. Unfortunately there are restrictions in place from our legal department on what I can and cannot post (i.e. that's why all the lib files are missing). The best advice I can give is to follow the instructions in the README file closely, NONE of the visual studio portion of the demo will work without doing so. If any of the instructions are unclear, please let me know in this forum, updating the instructions is the only thing I can do to make this easier.

To specifically address your first question, the README file will tell you that you need to build the laneMarkingAlgorithmWithVisualization.h and .lib files in MATLAB and then add them to the VS project. I had to add this extra step because I am not allow to post compiled files such as .lib.

Thanks, Adam

Comment only
31 Jul 2013 R

R (view profile)

Adam, where is the laneMarkingAlgorithmWithVisualization.h and .lib in the zip ? And where is the \laneMarkingWithVisualization\distrib\ folder in the zip ? The reason why most people cannot run your exmaple files correctly is because it's too complicated and that's why things are misging here and there. Can you plz just provide a workable example for engdemo.c or engdemo.cpp ? I don't believe many people can even compile either one correctly and see results in Matlab, let alone your example files. Thanks.

Comment only
30 Jul 2013 1.1

Updated files.

Contact us