www.gusucode.com > private工具箱matlab源码程序 > private/code_machine_source_file.m

    function code_machine_source_file(fileNameInfo,~,~)
% CODE_MACHINE_SOURCE_FILE(FILENAMEINFO,MACHINE,TARGET)

%   Copyright 1995-2005 The MathWorks, Inc.

	global gTargetInfo 

	if gTargetInfo.codingSFunction
    	code_machine_source_file_sfun(fileNameInfo);
    elseif gTargetInfo.codingRTW
    	code_machine_source_file_rtw(fileNameInfo);
    elseif gTargetInfo.codingHDL
        % Do nothing for now
    elseif gTargetInfo.codingPLC
        % Do nothing for now
    else
    	code_machine_source_file_custom(fileNameInfo);
	end