Changing data copy mode

1 view (last 30 days)
Right now I´m importing data to Matlab using the command importdata(-pastespecial) which allowed me to copy columns from excel to arrays in Matlab. However when I try it in another computer instead of transforming it to arrays, Matlab creates a structure out of it.... The data in excel is separated with commas (as given by the machine in the lab). Is there a way to change how Matlab copies it?. In the other computer it was doing it perfectly.
  1 Comment
Walter Roberson
Walter Roberson on 26 Dec 2017
Is it possible that the first system is ms windows with excel installed but that the other one is is either not windows or does not have excel installed?

Sign in to comment.

Accepted Answer

Eduardo Gaona Peña
Eduardo Gaona Peña on 26 Dec 2017
Nevermind, it was actually the new computer changing the notation on the excel file... friking microsoft. Long life Matlab :D

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!