myDynamicClass

版本 1.0.0.0 (1.9 KB) 作者: Mark Mikofski
Create a set of objects from a text file.
247.0 次下载
更新时间 2012/3/1

查看许可证

MDC = MYDYNAMICCLASS(TEXTFILE) will create a set of class from TEXTFILE.

The file must be delimited by white spaces so for text use underscores. Do not use quotes anywhere.

The first line should begin with the Class name followed by a list of the Fields.

Each subsequent line should begin with the Member followed by the values for each of the Fields.

myDynamicClass will convert strings to numbers; and may read in arrays if they entered as strings and use commas instead of spaces.

MDC = MYDYNAMICCLASS(TEXTFILE,FORMAT) creates the file using a FORMAT string that conforms to the standard MATLAB textscan notation.

引用格式

Mark Mikofski (2024). myDynamicClass (https://www.mathworks.com/matlabcentral/fileexchange/35404-mydynamicclass), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Text Files 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0