R.matlab icon indicating copy to clipboard operation
R.matlab copied to clipboard

list of list

Open cwliu007 opened this issue 5 years ago • 0 comments

In R, I save R object as list of list. For example, bias$normal$alpha and save it to .mat (by R.matlab 3.6.2). However, the alpha is missing in MATLAB after loading such .mat.

EXAMPLE in R: bias = list() bias$normal$alpha = 1 require("R.matlab") writeMat("test.mat",bias=bias)

In Matlab: load('test.mat') bias.normal.alpha

Reference to non-existent field 'alpha'.

cwliu007 avatar Aug 22 '19 02:08 cwliu007