MATLAB Answers

Opening a C++ file by MATLAB

6 views (last 30 days)
mohammad
mohammad on 1 Mar 2015
Commented: Geoff Hayes on 1 Mar 2015
I want to open a C++ file (with .dev format) by MATLAB and then run that file and finally close it.
1- opening the C++ file by MATLAB( is there any command for opening this file outside of MATLAB?)
2- running it from MATLAB (is there any command for running this file outside of MATLAB?)
3- closing that file finally(is there any command to close this file outside of MATLAB?)
thanks

  5 Comments

Show 2 older comments
Geoff Hayes
Geoff Hayes on 1 Mar 2015
How would you normally run the file.dev? What does the DEV CPP software do (please include a reference to it)?
mohammad
mohammad on 1 Mar 2015
I use DEV CPP software for running the file. DEV CPP is a software for compiling and running C, C++ files. here some info is available: http://www.bloodshed.net/devcpp.html
Geoff Hayes
Geoff Hayes on 1 Mar 2015
Why not just use MEX?

Sign in to comment.

Answers (0)

Sign in to answer this question.