new.m

来自「一个MATLAB的应用程序」· M 代码 · 共 33 行

M
33
字号
function dummy = new(cc,name,type)
%NEW  Create a new project, text file or build configuration.
%  NEW(CC,NAME,TYPE) will produce a new project, 
%  text file or build configuration in Code Composer Studio(tm) IDE.  
%  The NAME parameter is a string that designates the new entity.  
%  For text and project types, the NAME parameter is a filename
%  and can include a full path designation.  Conversely, a build
%  configuration always resides within a project and therefore
%  only needs a unique name to differentiate it from other build 
%  configurations within the same project.  If Code Composer has 
%  multiple active projects, the new build configuration is
%  generated within the active project.  The TYPE parameter 
%  explicitly accepts a string to define which entity to create.
%  
%   TYPE - Supported options:
%    'project'   - Code Composer executable project
%    'projlib'   - Code Composer library project
%    'projext'   - Code Composer external make project
%    'text'      - Empty Text file in Code Composer
%    'buildcfg'  - Build configuration in the active project
%
%  NEW(CC,NAME) or  
%  NEW(CC,NAME,[]) if the NAME option has a file extension of '.pjt',
%  this command creates an executable project file.
%
%  For Example
%  >cc = ccsdsp;
%  >cc.new('myproj.pjt','project');
%
%   See also ACTIVATE, CLOSE, SAVE.

% Copyright 2002 The MathWorks, Inc.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?