File Exchange

image thumbnail

attach

version 1.0.0.0 (1.61 KB) by Jeremy Manning
Assign fields of structure to variables in the current workspace.

0 Downloads

Updated 03 Mar 2012

View License

This function is similar to the attach function in R. Each field of the passed-in structure is created as a variable of the same name in the current workspace. The value of the variables are set to the contents of the corresponding fields.

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Add to mat

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor