Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
STRNUMERIC sorts a cell array of strings in numeric order based on numbers embedded within each string.
Example:
>> str = {'Test.txt'
'Test_4_Case_1_Day_10_34.txt'
'Test_3_Case_1_Day_10_34.txt'
'Test_2_Case_1_Day_9.txt'
'Test_2_Case_1_Day_10_34.txt'
'Test_2_Case_001_Day_10_234.txt'
'Test_2_Case_001_Day_10.txt'
'Test_1_Case_33_Day_1.txt'};
>> strnumeric(str)
ans =
'Test.txt'
'Test_1_Case_33_Day_1.txt'
'Test_2_Case_1_Day_9.txt'
'Test_2_Case_001_Day_10.txt'
'Test_2_Case_1_Day_10_34.txt'
'Test_2_Case_001_Day_10_234.txt'
'Test_3_Case_1_Day_10_34.txt'
'Test_4_Case_1_Day_10_34.txt'
Cita come
Sww (2026). STRNUMERIC (https://it.mathworks.com/matlabcentral/fileexchange/44968-strnumeric), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato: SOLLAR CHIMNEY DISALINATION APPARATUS
Informazioni generali
- Versione 1.0.0.0 (1,65 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0.0 |
