www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/xregCheckinDataLoadingFcn.m
function OK = xregCheckinDataLoadingFcn(varargin) %XREGCHECKINDATALOADINGFCN Add a data loading function to the Model Browser % XREGCHECKINDATALOADINGFCN has been replaced with MBCCHECKINDATALOADINGFCN. % XREGCHECKINDATALOADINGFCN currently works but will be removed in the % future. Use MBCCHECKINDATALOADINGFCN instead. % % OK = XREGCHECKINDATALOADINGFCN(FUNC, FILTERSPEC, FILETYPE) adds a new % data loading option to the Model Browser. FUN is a string that is the % function to call to load the data. FILTERSPEC is a (1x2) cell array % consisting of {FILEFILTER, DESCRIPTION}, e.g. {'*.m', 'MATLAB files (*.m)'}. % FILETYPE is a string that fully describes the file format. % % Example usage: % % OK = xregCheckinDataLoadingFcn('loadmydata', ... % {'*.k', 'k-files (*.k)'},... % 'My data loader (k-files)'); % % See also MBCMODEL, MBCGETDATALOADINGFCN, MBCREMOVEDATALOADINGFCN. % Copyright 2000-2010 The MathWorks, Inc. and Ford Global Technologies, Inc. warning(message('mbc:dataloading:DeprecatedFunction')); OK = mbccheckindataloadingfcn(varargin{:});