Customizable Natural-Order Sort

Alphanumeric sort of a cell/string/categorical array, with customizable number format.

ダウンロード
ダウンロード

現在この提出コンテンツをフォロー中です。

編集メモ: This file was selected as MATLAB Central Pick of the Week

引用

Stephen23 (2026). Customizable Natural-Order Sort (https://jp.mathworks.com/matlabcentral/fileexchange/34464-customizable-natural-order-sort), MATLAB Central File Exchange. に取得済み.

一般的な情報

MATLAB リリースの互換性

  • R2009b 以降のリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
3.4.12

* Add performance example.

ダウンロード
3.4.11

* Add dependency table.

ダウンロード
3.4.10

* Update testcases.

ダウンロード
3.4.9

* Documentation improvements.

ダウンロード
3.4.8

* convert test function to class.

ダウンロード
3.4.7

* Add testcases
* Documentation improvements

ダウンロード
3.4.6

* Documentation improvements.

ダウンロード
3.4.5

* Accept decimal comma as well as decimal point.
* HTML example use string arrays.

ダウンロード
3.4.4

* Add testcases.

ダウンロード
3.4.3

* Now R2009b compatible.

ダウンロード
3.4.2

* Edit description & help.

ダウンロード
3.4.1

* Edit description & help.

ダウンロード
3.4.0

* Add plenty of testcases.
* Fix bug in descending sort with an empty input array.

ダウンロード
3.3.0

* Improve test function, add test cases.

ダウンロード
3.2.0

* Update TESTFUN.

ダウンロード
3.1.0

* More robust TESTFUN pretty-print code.
* Improve option checking.

ダウンロード
3.0.5

* Improve examples.

ダウンロード
3.0.4

* Correct summary.

ダウンロード
3.0.3

* Improve string handling.

ダウンロード
3.0.2

* Simplify numeric class handling.
* Add permutations test examples.

ダウンロード
3.0.1

* handle single element with no number.

ダウンロード
3.0.0

* Accepts and sorts a string array, categorical array, cell array of char, etc.
* Regular expression and optional arguments may be string or char.
* Simplify char<num algorithm.
* Simplify debugging output cell array.

ダウンロード
2.1.2

* Consistent alignment tab/spaces.

ダウンロード
2.1.1

* Add error IDs.

ダウンロード
2.1.0

* Fix handling of char<num.

ダウンロード
2.0.0

Total rewrite: faster and less memory.
* Remove 'asdigit' option.
* Rename 'beforechar' and 'afterchar' to 'num<char' and 'char<num'.
* Add options 'num<NaN' and 'NaN<num'.
* Improve HTML documentation.
* Include testcases.

ダウンロード
1.11.0

* Consistent internal variable names.

ダウンロード
1.10.0

* Improve blurb and HTML.

ダウンロード
1.9.0

* Improve binary numeric handling.
* Improve handling of skipped fields.
* Add an example of skipped field usage.

ダウンロード
1.8.0

* Improved binary substring parsing.
* Better examples.

ダウンロード
1.7.0

- Update documentation only, improve examples.

ダウンロード
1.6.0

- Add binary numeric parsing.
- Improve input checking.
- Replace multiple debugging output arrays with one cell array.
- Allow lookarounds in regular expression.

ダウンロード
1.5.0

- Simplify hexadecimal example.
- Correct output summary.

ダウンロード
1.4.0

- Now parses hexadecimal and octal substrings.
- int64 and uint64 parsed at full precision.
- Allow <options> in any order.
- For debugging: return indices of character and numeric arrays.

ダウンロード
1.3.0

- Implement more compact sort algorithm.
- "sscanf" numeric format can be controlled by an optional input argument.
- Provide use examples.
- Output debugging arrays now char+numeric.

ダウンロード
1.1.0

- Add examples showing different numeric tokens.
- Case-insensitive sort is now default.

ダウンロード
1.0.0

ダウンロード