MATLAB:存储在单元格数组中的访问时间表
我有多个包含n*1数组的垫子文件。
这些阵列中的每个单元格都包含一个1 * 1个次数(尺寸6 * n):
单元格1:1 {1x1 timseries}的内容:
sstatic.net/su1qk.png“ rel =“ nofollow noreferrer 要使用工作空间查看数据,但是当我尝试打印单元格的数据时,我只会得到{1x1 timseries}或错误,例如“对于此类变量,不支持DOT索引”。当我做cell.data时。
您知道如何访问单元格内的数据吗?我的目标是xetract每个单元格的数据以生成一个大的CSV文件。
I have multiple mat files containing n*1 array.
Each of the cell in these arrays contain a 1 * 1 timeseries (size 6*n) :
Content of cell 1:1 {1x1 timseries}:
I am able to see the data using the workspace but when I try to print the data of a cell I only get {1x1 timseries} or error like "Dot indexing is not supported for variables of this type." when I do cell.Data.
Do you know how can I access the data inside a cell ? My goal is to xetract the data of each cell to generate a big csv file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
()
表示法以访问数组或向量中的项目,并使用{}
符号访问内容。例如:我认为在您的情况下,您想使用
cell {data}
之类的东西。Use
()
notation to access an item in an array or vector, and use{}
notation to access the contents. For example:I think in your case you want to use something like
cell{Data}
.