Changeset 1645


Ignore:
Timestamp:
08/11/09 14:22:50 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/EnumDefinitions/SynchronizeMatlabEnum.sh

    r1642 r1645  
    1717%   Usage:
    1818%      string=AnalysisTypeAsEnum(enum)
     19
     20%initialize output
     21string='not found';
     22
    1923END
    2024
     
    3539%$(echo `echo $NAME | sed -e "s/[a-z]/\U&/g"`) - Enum of $(echo `echo $NAME | sed -e "s/Enum//"`)
    3640%
    37 %   file generated by src/c/SynchronizeMatlabEnum
    38 %   to be synchronized with the corresponding C Enum
    39 %   located in src/c/EnumDefinitions
     41%   file generated by src/c/EnumDefinitions/SynchronizeMatlabEnum
    4042%
    4143%   Usage:
     
    5860done
    5961
     62#end of AnalysisTypeAsEnum
     63cat <<END >> AnalysisTypeAsEnum.m
     64
     65%check that an analysis type has been found for enum
     66if strcmp(string,'not found'),
     67        error(['AnalysisTypeAsEnum error message: enum ' num2str(enum) ' not supported!']);
     68end
     69END
     70
    6071#clean up
    6172mv AnalysisTypeAsEnum.m $ISSM_DIR/src/m/shared/
Note: See TracChangeset for help on using the changeset viewer.