readcell error for CSV file in MATLABversion 2022a.

2 visualizaciones (últimos 30 días)
Vickey Vardwaj
Vickey Vardwaj el 14 de Abr. de 2023
Comentada: Walter Roberson el 14 de Abr. de 2023
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 comentarios
Walter Roberson
Walter Roberson el 14 de Abr. de 2023
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{:})

Iniciar sesión para comentar.

Respuestas (1)

VBBV
VBBV el 14 de Abr. de 2023
readcell("rte_ioc_map.csv")
  3 comentarios
Vickey Vardwaj
Vickey Vardwaj el 14 de Abr. de 2023
Nope got the same error
VBBV
VBBV el 14 de Abr. de 2023
Ok. May be your file contains unknown binary data. Please check once.

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by