qt打开一个exe文件
#include <QProcess>
QString program = "C:/Program Files/MATLAB/R2017a/bin/matlab.exe";
QStringList arguments;
QProcess *myProcess = new QProcess(parent);
myProcess->start(program, arguments);
qt打开一个exe文件
#include <QProcess>
QString program = "C:/Program Files/MATLAB/R2017a/bin/matlab.exe";
QStringList arguments;
QProcess *myProcess = new QProcess(parent);
myProcess->start(program, arguments);