在新窗口的matlab中执行s.m文件。 注意:s.m文件要在新窗口matlab的默认路径中 system('matlab -nodesktop -nosplash -r "run(''s.m'');exit;" &');