Getting Not Enough Input Arguments error

1 次查看(过去 30 天)
I am trying to re-create a Matlab script file, from a printout of code that works fine in another location. this is the line of code that is giving me errors at the moment:
Entity(1,ESIDCol) = cellstr(HDF5Info.Datasets(a).Attributes(strcmp(AttributeIndex,ESIDString)).Value);
could it be that the data file, which is an hdf5 file, so i cant really open it to view the data without code, just isnt passing the needed data and there is nothing wrong with the code? Any help is appreciated.
  3 个评论
Mike
Mike 2023-6-26
编辑:Mike 2023-6-26
As per requested above here is the full error text:
Not enough input arguments.
Error in cellstr (line 20)
if ischar(s)
Error in hackalope_rebuild (line 270)
EntityCrap(1,ESIDCol) =
cellstr(HDF5Info.Datasets(a).Attributes(strcmp(AttributeIndex,ESIDString)).Value);
One of the problems I am facing is that I am using a python script to generate false hdf5 data, and I am unsure whether or not the data is correct, or the same structure as the data we recieve from our vendors. Could this error indicate that the hdf5 file I am pointing to does not contain the data/fields nessecary to run properly with the code I currently have?

请先登录,再进行评论。

回答(1 个)

Matt J
Matt J 2023-6-22
编辑:Matt J 2023-6-22
My guess is that strcmp(AttributeIndex,ESIDString) is returning false and therefore no arguments are being given as input to cellstr().

类别

Help CenterFile Exchange 中查找有关 Variables 的更多信息

产品


版本

R2019b

Translated by