source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@double/set.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 505 bytes
Line 
1function F = set(varargin)
2
3
4% I AM SO SORRY FOR MESSING WITH
5% INTERNAL FUNCTIONS; BUT I REALLY
6% WANT TO BE ABLE TO DO set([]) and set;
7
8% CATCH MY CASES
9switch nargin
10    case 0
11        F = lmi;
12        return
13    case 1
14        if isempty(varargin{1})
15            F = lmi;
16            return
17        end
18    otherwise
19end
20
21% ... Leave for standard code
22try
23    if nargout == 0
24        builtin('set',varargin{:});
25    else
26        F = builtin('set',varargin{:});
27    end
28catch
29    error(lasterr);
30end
31
Note: See TracBrowser for help on using the repository browser.