Hi there, this is my first post. I have a question in regards to running a C++ program from a Matlab GUI. I have spent hours looking through information online and I understand the method that is described is using MEX files. However, all of the tutorials and example I have found, including on the Mathworks site, are for relatively short C++ functions.
So, my question is: how do I get Matlab to run a large C++ program? It has about 20 cpp files which call upon each other to run the program. There is one Main function which then runs the entire program but I don't believe its enough just converting the main function, correct me if I'm wrong. Must I copy all of those files into Matlab and turn them all into MEX functions? That doesn't sound efficient to me but I am a novice in this field.
Best Answer