Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MATLAB xlsread

  1. Jul 12, 2008 #1
    I have just imported a fairly large matrix from a excel spread sheet (121x6) useing the xlsread function. Is there a way I can convert the matrix from my command window to look something like below.

    Matrix = [.......; .........; ........; .........; ........; .........]

    I want to know if i can store the matrix in a mfile so I can use the data even if i no longer have access to the spreadsheet. I dont really want to use xlsread everytime i need to use the matrix and I want to be able to run the code on different machines if i need.

    Thanks in advance

  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted