Rev | Line | |
---|
[91] | 1 | %PR_DATASET Switch between dataset and prdataset
|
---|
[81] | 2 |
|
---|
[91] | 3 | function varargout = pr_dataset(varargin)
|
---|
[81] | 4 |
|
---|
[91] | 5 | varargout = cell(1,nargout);
|
---|
[129] | 6 | name = varargin{1};
|
---|
| 7 | if ischar(name)
|
---|
| 8 | if isempty(fileparts(name))
|
---|
| 9 | dirr = fileparts(which(callername));
|
---|
| 10 | name = fullfile(dirr,name);
|
---|
| 11 | varargin{1} = name;
|
---|
| 12 | end
|
---|
| 13 | end
|
---|
[91] | 14 | if floor(prversion) == 4
|
---|
| 15 | [varargout{:}] = dataset(varargin{:});
|
---|
[81] | 16 | else
|
---|
[91] | 17 | [varargout{:}] = prdataset(varargin{:});
|
---|
[81] | 18 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.