Skip to content

Instantly share code, notes, and snippets.

@HereChen
Last active August 29, 2015 14:01
Show Gist options
  • Save HereChen/8826fe0ba9afdbee6078 to your computer and use it in GitHub Desktop.
Save HereChen/8826fe0ba9afdbee6078 to your computer and use it in GitHub Desktop.
matlab: get variable names from mat file
test = load('test.mat');
fn = fieldnames(test);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment