📄 c2000demoscallback.m
字号:
function c2000demoscallback(varargin)
% This m-file is set as a callback for all the TIC6000 demos. When the demo
% model opens, this callback executes. For now, we check if Embedded
% Coder is installed, and if it does, we switch the model to use
% ti_c6000_ert.tlc target, else ti_c6000.tlc target.
% $Revision: 1.1.6.7.2.1 $ $Date: 2007/02/03 07:56:50 $
% Copyright 2003-2006 The MathWorks, Inc.
try
grt_ert_switch_target(gcs, 'ccslink_grt.tlc', 'ccslink_ert.tlc', 'auto');
catch
% model will use GRT instead
% when we use backward compatibility tool the warning will show
% unneccessarily since the switch above will always fail due to
% target being c2000_ert or c2000_grt
% warning('Cannot auto-set system target file.');
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -