Ignore:
Timestamp:
07/19/12 11:46:26 (13 years ago)
Author:
jschierm
Message:

Python versions of WriteData and pairoptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/model/WriteData.m

    r12365 r12660  
    3535%Step 2: write the data itself.
    3636if     strcmpi(format,'Boolean'),% {{{
    37         if(numel(data)~=1), error(['field ' field ' cannot be marshalled as it has more than one element!']); end
     37        if(numel(data)~=1), error(['field ' EnumToString(enum) ' cannot be marshalled as it has more than one element!']); end
    3838
    3939        %first write length of record
     
    5959        % }}}
    6060elseif strcmpi(format,'Double'), % {{{
    61         if(numel(data)~=1), error(['field ' field ' cannot be marshalled as it has more than one element!']); end
     61        if(numel(data)~=1), error(['field ' EnumToString(enum) ' cannot be marshalled as it has more than one element!']); end
    6262
    6363        %first write length of record
Note: See TracChangeset for help on using the changeset viewer.