필터 지우기
필터 지우기

Matlab Crashes when paste from excel

조회 수: 5 (최근 30일)
Tala
Tala 2021년 7월 20일
댓글: Tala 2021년 7월 21일
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
Mudit Chaturvedi
Mudit Chaturvedi 2021년 7월 21일
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 2021년 7월 21일
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 :)

댓글을 달려면 로그인하십시오.

채택된 답변

KSSV
KSSV 2021년 7월 21일
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
Tala
Tala 2021년 7월 21일
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 :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by