如何在变量浏览器中显示 uint32 数组的所有值?
How to display all values of uint32 array in variable browser?
我有一个如下所示的结构:
我对这个结构有疑问。在某些字段中,它不是像其他字段中那样的值,而是写成 48x1 uint32
。我想在其他字段中使用数字,例如 [23;45;67]
.
我的问题是我想将结构保存在 csv 文件中,然后用 python 打开它,并按原样保存结构在我需要值的字段中,而不是 48x1 uint32
.
数据类型是double
还是uint32
无关紧要,重要的是元素的个数。变量浏览器中显示的最大元素数为10.
a.b = uint32(randi(20,10,1)); %// gets displayed
a.c = double(randi(20,10,1)); %// gets displayed
a.d = uint32(randi(20,11,1)); %// does not get displayed
a.c = double(randi(20,11,1)); %// does not get displayed
我不知道有任何可能改变这种行为。
My problem is that I want to save the struct in a csv file, for then
open it with python, and saving the struct as it is in the fields I
need the values, instead of 48x1 uint32
.
值在那里,行之间没有区别。但是,如果数组中的元素少于 11 个,您将在变量浏览器中获得 字段内容的预览 。但是,如果您键入 patients(56)
和 patients(57)
,则格式没有区别。
我有一个如下所示的结构:
我对这个结构有疑问。在某些字段中,它不是像其他字段中那样的值,而是写成 48x1 uint32
。我想在其他字段中使用数字,例如 [23;45;67]
.
我的问题是我想将结构保存在 csv 文件中,然后用 python 打开它,并按原样保存结构在我需要值的字段中,而不是 48x1 uint32
.
数据类型是double
还是uint32
无关紧要,重要的是元素的个数。变量浏览器中显示的最大元素数为10.
a.b = uint32(randi(20,10,1)); %// gets displayed
a.c = double(randi(20,10,1)); %// gets displayed
a.d = uint32(randi(20,11,1)); %// does not get displayed
a.c = double(randi(20,11,1)); %// does not get displayed
我不知道有任何可能改变这种行为。
My problem is that I want to save the struct in a csv file, for then open it with python, and saving the struct as it is in the fields I need the values, instead of
48x1 uint32
.
值在那里,行之间没有区别。但是,如果数组中的元素少于 11 个,您将在变量浏览器中获得 字段内容的预览 。但是,如果您键入 patients(56)
和 patients(57)
,则格式没有区别。