Code covered by the BSD License  

Highlights from
attach

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.61 KB File ID: #35436

attach

by Jeremy Manning

 

03 Mar 2012

Assign fields of structure to variables in the current workspace.

| Watch this File

File Information
Description

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.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File  
Everyone's Tags
assignin, attach, eval, field, r, struct, workspace
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us