getfilevar

Allows user to define the name of unknown variable from .mat file and load it into the workspace.

Download
Download

You are now following this Submission

Cite As

Sam Roberson (2026). getfilevar (https://in.mathworks.com/matlabcentral/fileexchange/33447-getfilevar), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.6.0

Bugfix - filename now loading properly for all input options.

Download
1.5.0

Update to deal with list size falling off the edge of the screen.

Download
1.3.0

Bugfix: uigetfile in previous issue did not pass complete file path to filename.

Download
1.2.0

getfilevar can now be called with no input arguments, allowing the user to select a file interactively from a file browser.

Download
1.1.0

Now includes output of original variable name and the option to define the prompt for the list dialogue.

Download
1.0.0

Download