MATLAB COMPILER RELEASE NOTES Betriebsanweisung Seite 177

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 716
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 176
Mathematics
5-17
Cell arrays of strings can combine with char arrays.
ismember treats trailing white space in cell arrays of strings as distinct characters.
For example, 'word' is different from 'word '. If the 'legacy' flag is specified,
ismember ignores trailing white space and treats 'word' the same as 'word '.
Compatibility Considerations
If the changes adversely affect your code, you can specify 'legacy' to preserve the
behavior from R2012b and prior releases. For example:
[C,IA,IC] = unique([9 9 1])
C =
1 9
IA =
3
1
IC =
2
2
1
[C2,IA2,IC2] = unique([9 9 1],'legacy')
C2 =
1 9
IA2 =
3 2
IC2 =
2 2 1
Seitenansicht 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 715 716

Kommentare zu diesen Handbüchern

Keine Kommentare