The first argument must be a string array, character vector, or cell array of character vectors
38 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Santosh Biradar
am 29 Aug. 2022
Kommentiert: Santosh Biradar
am 29 Aug. 2022
Hello
I am getting error for below lines. Showing up the msg, The first argument must be a string array, character vector, or cell array of character vectors
Error: IncDecAnalysis/Decreased (line 323)
[chkFlgIdxList,~,~] = find(ismember(DecOriginTime, MissingTimeList, 'rows' ));
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1110355/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1110360/image.png)
I am not sure, either string data and Double can be compared.
Please suggest the change that I need to do for [chkFlgIdxList,~,~] = find(ismember(DecOriginTime, MissingTimeList, 'rows' ));
Please let me know for more details.
Thank You
0 Kommentare
Akzeptierte Antwort
Chunru
am 29 Aug. 2022
You need to convert DecOriginTime into string that has similar format as MissingTimeList.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!