Changeset 16247


Ignore:
Timestamp:
09/25/13 07:28:28 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: display last option before inconsistency

File:
1 edited

Legend:

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

    r15331 r16247  
    4545                         %check length of input
    4646                         if mod((nargin-1),2),
     47                                 for i=1:2:(nargin-1)
     48                                         if ~ischar(varargin{i}),
     49                                                 disp(['Last valid option: ' varargin{i-2} ]);
     50                                                 break;
     51                                         end
     52                                 end
    4753                                 error('Invalid parameter/value pair arguments')
    4854                         end
Note: See TracChangeset for help on using the changeset viewer.