Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2004
    Posts
    19

    Exclamation Unanswered: 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

  2. #2
    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 03:44. Reason: bad spelling

  3. #3
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •