Changeset 1194 for trunk/src/num2stra.m


Ignore:
Timestamp:
Feb 23, 2026, 3:58:54 PM (8 days ago)
Author:
sommeria
Message:

several bugs repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/num2stra.m

    r1127 r1194  
    88% INPUT:
    99% num: input number (file index)
    10 % nom_type: nomencalture type (see fct name_generator)
    11 % index: 1 or 2 (first or secodn index in file naming)
     10% nom_type: nomenclature type (see fct name_generator)
     11% index: 1 or 2 (first or second index in file naming)
    1212% see also: stra2num, name_generator, name2display
    1313
     
    3737switch index
    3838    case 1
    39 %         if length(nom_type)>=4 && isequal(nom_type(1:2),'%0') && isequal(nom_type(4),'d')
    40 %            str=num2str(num,nom_type(1:4));
    41 %         else
    4239           str=num2str(num);
    43 %         end
    4440    case 2
    4541        if ~isempty(nom_type) && (isequal(nom_type(end),'a')||isequal(nom_type(end),'b'))
Note: See TracChangeset for help on using the changeset viewer.