If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > open desired files from matlab (urgent)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-05, 02:30
sportyboy sportyboy is offline
Registered User
 
Join Date: Nov 2004
Posts: 19
Exclamation open desired files from matlab (urgent)

hello guys out there

i have a problem that i all can help me with...

i need to open excel files under matlab for plotting purposes... hmm currently wat i can do is to use..

x= xlsread('filename')

but the file name is already there.. ... suppose i want to open from the various drives.. with different names.. hmm how am i suppose to do that...

hmm hope all can help me out here....



thanks for any help...

regards
Reply With Quote
  #2 (permalink)  
Old 02-18-05, 02:44
DavidCoutts DavidCoutts is offline
Registered User
 
Join Date: Jan 2004
Location: Aberdeen, Scotland
Posts: 1,067
Could you open the file as a text file and read the variables that way?
i dont know the structure of matlab so sorry i cant be of any more help

Last edited by DavidCoutts; 02-18-05 at 02:44. Reason: bad spelling
Reply With Quote
  #3 (permalink)  
Old 02-22-05, 07:51
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
use the filesystem object to define the drives, paths and file types you need.

I don't do much VBA in excel but you can control things in Access quite easily and Access VBA is very very close to Excel VBA.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On