필터 지우기
필터 지우기

Can't open and write an Excel file that should be created by MATLAB

조회 수: 4 (최근 30일)
farzad
farzad 2019년 7월 10일
댓글: dpb 2019년 7월 11일
I have to write some large amount of data using xlswrite and since they are multiple files, they are written one by one . meaning that there is one xlswrite command for each matrix to be written.
after writing the first Excel file I get this error and matlab exists :
Warning: File not found or permission denied
> In xlswrite (line 223)
Warning: found error in 126976th line
Error: Excel Worksheet could not be activated.
  댓글 수: 3
farzad
farzad 2019년 7월 11일
sorry, the message has a problem, since I have created it through a request, it is 126976th line not file
dpb
dpb 2019년 7월 11일
I don't understand what that means, specifically. As requested, we need the full content of the error message and the code that generated it in context.
If you mean you have written a piece of code that duplicates xlswrite command 126,976 times plus, "Houston, we have a problem!" If that is the case you definitely need to look at how to write a generic loop construct instead.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by