C++ programming in Matlab

4 Ansichten (letzte 30 Tage)
Nathan Goedeke
Nathan Goedeke am 29 Dez. 2013
Beantwortet: Walter Roberson am 29 Dez. 2013
I'm relatively new to Matlab (2012, Student Version), and I am having great confusion when it comes to writing programs on it. I have written a simple c++ program on it, but I cannot find any explanation as to how I should compile and run it. I know there are some kind of examples that has something to do with MEX files, but none of them seem to satisfactorily explain how to solve my problem: All I want is to compile and run this program on Matlab.
int main()
{
cout << "Hello World!";
return 0;
}

Antworten (1)

Walter Roberson
Walter Roberson am 29 Dez. 2013

Kategorien

Mehr zu Call C++ from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by