03 Mar 2012
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.
Add to mat
Create scripts with code, output, and formatted text in a single executable document.
Learn About Live Editor
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office