How to save a matrix from an object with unknow name?
1 Ansicht (letzte 30 Tage)
Juan Sepúlveda am 31 Okt. 2020
I have a file with around 50 variables, each with different names, so I have their names contained in a cell array called filtered_vars.
Then in order to load them I was using
struct with fields:
N_force_wind_to_wave_Nmin: [1444202×672×2 single]
Now my problem is that the variable temp corresponds to a structure object with the name of the variable which was loaded, and then I don't know how to read it in order to save it into a matrix.