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. 检索时间: .
社区
| 版本 | 已发布 | 发行说明 | 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
|
||
| 1.4.0 | added update structure functionality, made some documentation and demo function changes, added image :) |
||
| 1.0.0 |