Code covered by the BSD License  

Highlights from
loads one variable from MAT-file(s) into workspace

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 2.29 KB File ID: #40432

loads one variable from MAT-file(s) into workspace

by

 

Need to load a same variable from a list of MAT files? This is for you!

| Watch this File

File Information
Description

getvar loads one variable from MAT-file(s) into workspace
 
[vo,voname,matname]=getvar popups GUI to ask which MAT file(s) to load and load what variable. vo is the content of the loaded variable and whose name can be assigned by user. voname is the original variable name. matname is the MAT file(s) being loaded.

If more than one file is loaded, vo is a cell containing the content of the variable from each file. matname is a cell containing the MAT file list

[...]=getvar(matname) loads one variable from MAT file(s) matname.
 
[...]=getvar(varnamefilter) asks which MAT file(s) to load and use varnamefilter to prefilter the name of variables that match the specified regular expressions.
 
[...]=getvar(matname,varnamefilter) loads one variable filtered by varnamefilter from MAT file(s) fnames into vo and voname.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us