我可以在命令行上探索一个结构,比如,
octave:1> fieldnames(data)
ans =
{
[1,1] = training
[2,1] = validation
[3,1] = test
}
octave:2> fieldnames(data.training)
ans =
{
[1,1] = inputs
[2,1] = targets
}
但是,有什么办法可以倾倒整个结构吗?我正在设想某种输出,例如,
data :: struct
training :: struct
inputs :: 256x1000 double
...
提前致谢!