gusucode.com > private工具箱matlab源码程序 > private/create_mexopts_caller_bat_file.m
function create_mexopts_caller_bat_file(file,fileNameInfo) % Copyright 2007-2010 The MathWorks, Inc. if ~isempty(fileNameInfo.mexSetEnv) % G976129. Turn off "echo" to speed up execution of the generated batch file. fprintf(file,'@echo off\n'); fprintf(file,'%s\n',fileNameInfo.mexSetEnv); end