Pack & Unpack variables to & from structures with enhanced functionality

v2struct packs and unpacks variables to and from structures with enhanced functionality.

下载
下载

您现在正在关注此提交

编者注: This file was selected as MATLAB Central Pick of the Week

引用格式

Adi Navve (2026). Pack & Unpack variables to & from structures with enhanced functionality (https://ww2.mathworks.cn/matlabcentral/fileexchange/31532-pack-unpack-variables-to-from-structures-with-enhanced-functionality), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Structures 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
社区
版本 已发布 发行说明 Action
1.14.0

Made submission availavble as a toolbox

下载
1.13.0

Added easy packing of all variables in caller workspace (thanks to Vesa Lehtinen for the suggestion), fixed bug in warning handling in packing case, edited comments.

下载
1.11.0

Clarified warning and error when packing/unpacking with fieldNames.

下载
1.8.0

fixed bug in packing with variables only

下载
1.7.0

fieldNames usage corrected, now for triggering a specific string must be included. Documentation enhanced. Code tweaked.

下载
1.5.0

* Added functionality: avoid overwritring existing variables
* Added 'unpacking' examples to demo1 .m file.

下载
1.4.0

added update structure functionality, made some documentation and demo function changes, added image :)

下载
1.0.0

下载