Differences From Artifact [367266a7c0]:
- Executable file mttroot/mtt/bin/trans/m/str2ch.m — part of check-in [3375c5eccd] at 1996-12-04 21:39:55 on branch origin/master — Changed to handle null string (octave returns lenghth of 1) (user: gawthrop@users.sourceforge.net, size: 781) [annotate] [blame] [check-ins using]
To Artifact [6886463212]:
- Executable file mtt/bin/trans/m/str2ch.m — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 896) [annotate] [blame] [check-ins using] [more...]
- Executable file mttroot/mtt/bin/trans/m/str2ch.m — part of check-in [5d73f2403a] at 2009-11-02 16:54:03 on branch origin/master — Replaced deprecated functions from Octave 2.1 for Octave 3.0: is_struct -> isstruct, struct_contains -> isfield, struct_elements -> fieldnames, is_complex -> iscomplex, setstr -> char (user: geraint@users.sourceforge.net, size: 896) [annotate] [blame] [check-ins using]
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + + + - + | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.3 1996/12/04 21:39:55 peterg % %% Changed to handle null string (octave returns lenghth of 1) % %% % %% Revision 1.1 1996/08/30 09:54:44 peter % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% implicit_str_to_num_ok = 1; astr = abs(str); if (n>0) & (n<=length(str)) & (strcmp(str,'')==0) |
︙ |