readcell error for CSV file in MATLABversion 2022a.
古いコメントを表示
getting error in reading CSV file uisng readcell command in MATLABversion 2022a.
Command readcell('rte_ioc_map.csv')
error
"Error using readcell
inputs must be a string array, character vector, or cell array of character vectors. "
7 件のコメント
Walter Roberson
2023 年 4 月 14 日
What shows up for
which readcell
Question: do you have any third-party packages such as SPM or dfield8 or matcont installed?
Vickey Vardwaj
2023 年 4 月 14 日
Stephen23
2023 年 4 月 14 日
Try
which readcell -all
Vickey Vardwaj
2023 年 4 月 14 日
Stephen23
2023 年 4 月 14 日
Please show the exact code where READCELL is called (screenshot), and also the output of this command:
pwd
Vickey Vardwaj
2023 年 4 月 14 日
Walter Roberson
2023 年 4 月 14 日
I suspect that you have a third-party toolbox that is interfering with the normal operation of MATLAB.
My guess is that you are using a third-party toolbox that defines a function named isstring .
You could use
dbstop in readcell
readcell("rte_ioc_map.csv")
and then use the debugger to single step. In particular I expect you would need to "step in" on the line
C = func.validateAndExecute(filename,varargin{:})
回答 (1 件)
VBBV
2023 年 4 月 14 日
readcell("rte_ioc_map.csv")
3 件のコメント
VBBV
2023 年 4 月 14 日
Try with a " "
Vickey Vardwaj
2023 年 4 月 14 日
VBBV
2023 年 4 月 14 日
Ok. May be your file contains unknown binary data. Please check once.
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


