Data Manipulation Toolbox

버전 1.0.0.0 (195 KB) 작성자: Dahua Lin
Manipulation of data such as string, array, cell array and struct, and a unit testing framework
다운로드 수: 2.6K
업데이트 날짜: 2007/7/2

라이선스 보기

Data Manipulation Toolbox (dmtoolbox) is a MATLAB toolbox to facilitate the general programming using various data structures such as string, arrays, cell arrays and struct arrays. Despite that MATLAB has offered a series of builtin functions to manipulate these elements, nontrivial efforts are still needed to accomplish some advanced operations. This toolbox aims at complementing some functions that MATLAB currently lacks instead of replacing the existing ones.

Here is a brief list of the functionality offered by the dmtoolbox

Common Utilities
The functions for logical judgment, conditional counting, array selection, and the computation of Cartesian product.

String Manipulation and Formatting
The functions for generating strings in different types, formatting strings, extracting information from strings, and converting strings.

Cell Array Manipulation
The functions for logical judgment, conditional counting, element selection, selective removal, and conversion of cell arrays.

Struct Array Manipulation
The functions for sorting and converting struct arrays from/to different data structures.

Mapping (Look-Up-Table)
The functions to construct maps(also known as dictionary, hash table, or loop-up-table), and map a scalar or a string to the corresponding value.

Unit Testing Framework
It is a flexible and lightweight framework with classes and functions to assist unit testing in MATLAB. You can make use of the framework to write testing functions with assertions, group them into test cases and test suites. The framework monitors the running of all test cases and records all assertion checking results and exceptions, and reports to the user as well.

Elaborate help has been provided within each m-function, with sufficient examples to show their usage. In addition, well-formated HTML help of this toolbox is made available in the MATLAB Help Browser. You can readily refer to it by finding the Data Manipulation Toolbox in the list of MATLAB Help Contents or simply typing dmdoc in MATLAB command line.

To assure the quality, a comprehensive testsuite has been written to check whether all functions work properly. After installing the toolbox, you may type in dmtoolbox_test to run the tests to verify that the toolbox can work normally in your MATLAB environment. The whole testsuite is written based on the unit testing framework offered in the toolbox, which in itself is a good example to show how to use the testing framework.

인용 양식

Dahua Lin (2024). Data Manipulation Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/15463-data-manipulation-toolbox), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

dmtoolbox/

dmtoolbox/cells/

dmtoolbox/maps/

dmtoolbox/private/

dmtoolbox/strings/

dmtoolbox/strings/private/

dmtoolbox/structs/

dmtoolbox/tests/

dmtoolbox/tests/@testcase/

dmtoolbox/tests/@testlog/

dmtoolbox/tests/@testmon/

dmtoolbox/tests/@testsuite/

dmtoolbox/utils/

버전 게시됨 릴리스 정보
1.0.0.0