Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: how to access the same variables from 2 files that has similar name saved in different folder.
Replies: 1   Last Post: Aug 16, 2012 12:39 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Antonio Valentine

Posts: 17
Registered: 7/29/12
how to access the same variables from 2 files that has similar name saved in different folder.
Posted: Aug 15, 2012 11:00 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have saved file
folder "A"
a1.mat
a2.mat
folder "B"
a1.mat
a2.mat

however all the variables in a1,a2 from two folders are the same.

If I want to call just only a variable for plot that has the same name, what would be the command?

For example,

a1.mat has variable result1
a2.mat has variable result1

but two results has achieved from different settings. I want to plot them versus each different setting.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.