Borrar filtros
Borrar filtros

Matlab Crashes when paste from excel

5 visualizaciones (últimos 30 días)
Tala
Tala el 20 de Jul. de 2021
Comentada: Tala el 21 de Jul. de 2021
I copy a column in excel with 3601 elements in it and paste in in matlab 2021a. Almost immediately, matlab crashes! I used to be able to do this for years and now ....
any suggestions?
thanks
  2 comentarios
Mudit Chaturvedi
Mudit Chaturvedi el 21 de Jul. de 2021
Hello Faraz!
I understand you are trying to copy a column from excel to Matlab causing Matlab to crash.
Can you try importing the column to a variable using xlsread and check if that works or not?
Also what is the data being stored in the column?
Tala
Tala el 21 de Jul. de 2021
for sure xlsread and readtable do work. Its just more convininet sometimes to copy and paste. The data is just numbers. I have been doing so (copy/paste) for quite a while and never had any issues! something has changed in the 2021 version! Technology is backwards :D
appreciate your time Mudit :)

Iniciar sesión para comentar.

Respuesta aceptada

KSSV
KSSV el 21 de Jul. de 2021
Why you want to paste data from excel into MATLAB? You should not do this. You have to load/ read the data from excel into MATLAB workspace. For this you have functions and you need to read about them. The best way to load excel data into MATLAB is using readtable.
T = readtable(myfile) ;
T
  1 comentario
Tala
Tala el 21 de Jul. de 2021
Agreed that this can be done by readtable functions. To me, its just more convinient to copy and paste as a quick way to try something out.
I have been doing this (copy/paste) for 8 years and this is the first time I am facing a problem like this. I think something has changed in the 2021a version.
appreciate your feedback my friend :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by