www.gusucode.com > private工具箱matlab源码程序 > private/code_chart_header_file.m
function code_chart_header_file(fileNameInfo, chart, specsIdx) % Copyright 1995-2009 The MathWorks, Inc. global gTargetInfo if gTargetInfo.codingSFunction code_chart_header_file_sfun(fileNameInfo,chart,specsIdx); elseif gTargetInfo.codingRTW code_chart_header_file_rtw(fileNameInfo,chart,specsIdx); elseif gTargetInfo.codingHDL %code_chart_header_file_hdl(fileNameInfo,chart); elseif gTargetInfo.codingPLC %code_chart_header_file_plc(fileNameInfo,chart); else code_chart_header_file_custom(fileNameInfo,chart); end