How to keep metadata with the parameters?
Show older comments
Hello,
I have my parameters opened in the Workspace but I need to keep, from metadata of the dataset, the units of each parameter (which now have just data at all).
So, How can I keep them with every each parameter in a simple way?
I put here down an example of variable I need, but I'm not able to choose right.
% var17
% Size: 31x189
% Dimensions: N_SAMPLES,N_STATIONS
% Datatype: single
% Attributes:
% long_name = 'Water body pH'
% units = 'pH units'
% comment = 'Codes: SDN:P35::EPC00168 SDN:P06::UUPH'
% ancillary_variables = 'var17_qc'
% C_format = '%.2f'
% FORTRAN_format = 'F12.2'
% _FillValue = -10000000000
Thank you
Sofia Stella
Accepted Answer
More Answers (0)
Categories
Find more on String Parsing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!