how to run mexFunction
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Adding custom doc 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!