run C++ program in using MATLAB

3 views (last 30 days)
Pramit Biswas
Pramit Biswas on 3 Apr 2015
Edited: Pramit Biswas on 3 Apr 2015
I have a main.cpp code including all necessary functions in one file (i.e., it is not a function, full code with main).
Can I run this .cpp file in MATLAB(using script/command line)?

Answers (1)

James Tursa
James Tursa on 3 Apr 2015
  1 Comment
Pramit Biswas
Pramit Biswas on 3 Apr 2015
Edited: Pramit Biswas on 3 Apr 2015
Which compiler? g++? NO inbuilt compiler from MATLAB? any other method(s)?

Sign in to comment.

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!