Error using strfind Conversion to double from table is not possible.
显示 更早的评论
I have a table and I extracted one value from the table and it is
dataTimeColumn(1,1) = 2023-07-24T16:15:54.200
And I tried to find T in this by using strfind like this.
temp2 = strfind(dataTimeColumn(1,1),'T')
and when I run I get the error
Error using strfind
Conversion to double from table is not possible.
Why is that and how can I solve it. Thank you.
采纳的回答
更多回答(1 个)
Walter Roberson
2023-7-25
0 个投票
temp2 = strfind(dataTimeColumn{1,1},'T')
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!