readcell error for CSV file in MATLABversion 2022a.

조회 수: 2 (최근 30일)
Vickey Vardwaj
Vickey Vardwaj 2023년 4월 14일
댓글: Walter Roberson 2023년 4월 14일
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
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
VBBV 2023년 4월 14일
readcell("rte_ioc_map.csv")
  댓글 수: 3
Vickey Vardwaj
Vickey Vardwaj 2023년 4월 14일
Nope got the same error
VBBV
VBBV 2023년 4월 14일
Ok. May be your file contains unknown binary data. Please check once.

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

카테고리

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

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by