예제 #1
0
        public void RunMatlab(MatlabCommand matlabCommand, bool silentMode)
        {
            string  arguemntString = " -r \"" + matlabCommand.ToString() + "\"";
            Process process        = new Process();

            process.StartInfo.Arguments = arguemntString;
            process.StartInfo.FileName  = programPath;
            process.Start();
        }
예제 #2
0
        public static ErrorResult RunMatlab(MatlabCommand matlabCommand, bool silentMode)
        {
            string commandString = matlabCommand.ToString();

            matlab.Visible = 0;
            string ans = matlab.Execute(commandString);

            return(new ErrorResult());
        }