Changeset 15856


Ignore:
Timestamp:
08/21/13 13:41:47 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: front cannot be retrieved anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/oldclasses/diagnostic.m

    r15855 r15856  
    2525                loadingforce             = NaN;
    2626                requested_outputs        = NaN;
    27         end
    28         methods (Static)
    29                 function obj = loadobj(obj) % {{{
    30                         % This function is directly called by matlab when a model object is
    31                         % loaded. If the input is a struct it is an old version of this class and
    32                         % old fields must be recovered (make sure they are in the deprecated
    33                         % model properties)
    34 
    35                         if verLessThan('matlab','7.9'),
    36                                 disp('Warning: your matlab version is old and there is a risk that load does not work correctly');
    37                                 disp('         if the model is not loaded correctly, rename temporarily loadobj so that matlab does not use it');
    38 
    39                                 % This is a Matlab bug: all the fields of md have their default value
    40                                 % Example of error message:
    41                                 % Warning: Error loading an object of class 'model':
    42                                 % Undefined function or method 'exist' for input arguments of type 'cell'
    43                                 %
    44                                 % This has been fixed in MATLAB 7.9 (R2009b) and later versions
    45                         end
    46                 end% }}}
    4727        end
    4828        methods
Note: See TracChangeset for help on using the changeset viewer.