Changing data copy mode

3 vues (au cours des 30 derniers jours)
Eduardo Gaona Peña
Eduardo Gaona Peña le 26 Déc 2017
Commenté : Walter Roberson le 26 Déc 2017
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 commentaire
Walter Roberson
Walter Roberson le 26 Déc 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?

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by