gettok: a pedestrian matlab constructs decoder

版本 1.0.0.0 (66.1 KB) 作者: us
a decoder/tokenizer for MATLAB constructs
6.6K 次下载
更新时间 2005/4/25

查看许可证

recursively decodes MATLAB constructs such as numbers, strings, structures, cells, and returns
- <eval>uable MATLAB constructor syntax
- a descriptive summary of the constructor's contents
- the contents itself

and - for historical reasons
- converts strings to and from cells
- creates character ranges

the convenient GETTOK wrapper STOK creates two panels

the upper panel lists the constructor syntax and contents descriptor of each entry
- selecting line 1 will display a brief help in the lower panel
- selecting line 2 will display a version summary in the lower panel
- selecting an entry displays a summary and the contents of the constructor in the lower panel
- selecting any item in the lower panel displays the constructor syntax in the command window for copy/paste operations
- evaluating a constructor at the command prompt will return its contents

see the accompanying published M-file for an example

引用格式

us (2024). gettok: a pedestrian matlab constructs decoder (https://www.mathworks.com/matlabcentral/fileexchange/1348-gettok-a-pedestrian-matlab-constructs-decoder), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R12.1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!

html/

版本 已发布 发行说明
1.0.0.0

added ver switch to support r13/r14 features (user requested); added info in stok-gui; tested with r13-r14.sp2; ver tag 25-Apr-2005 09:06:44