Error using xlsread (line 257) Excel Worksheet could not be activated

177 ビュー (過去 30 日間)
SHAIMUM SHAHRIAR
SHAIMUM SHAHRIAR 2019 年 8 月 14 日
回答済み: zhuyuan 2022 年 3 月 16 日
Hi,
I have got an error message: "Error using xlsread (line 257) Excel Worksheet could not be activated". I have used MATLAB R2019a in my personal computer (OS: Windows 10) and got this error. But the same code when I run in my office computer (OS: Windows 7) which has MATLAB R2017a, it runs perfectly.
Please can you help me to fix the problem.
Thanks.
Shaimum
  1 件のコメント
Esperanza Linares Guerrero
Esperanza Linares Guerrero 2020 年 10 月 8 日
Perhaps this answer might help:
https://ww2.mathworks.cn/matlabcentral/answers/282688-why-my-excel-file-can-not-be-read-by-matlab#answer_220925

サインインしてコメントする。

回答 (3 件)

Star Strider
Star Strider 2019 年 8 月 15 日
The problem does not appear to be the Excel file, if you can read it correctly in R2017a. See if using the readmatrix function allows you to read it on your R2019a installation.

RongZhe Li
RongZhe Li 2019 年 10 月 21 日
I found an error with xlsread(filename) on matlab2019 but ont on matlab2014

zhuyuan
zhuyuan 2022 年 3 月 16 日
I also run into the problem:
Error using xlsread (line 257)
Excel Worksheet could not be activated.
How could i resolve it, i have try many website method, but nothing.

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by