www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ReadAttributeAssociatedWithVariableExample.m
%% Read Attribute Associated with Variable % Read an attribute associated with a variable. % Copyright 2015 The MathWorks, Inc. scale_factor = ncreadatt('example.nc','temperature','scale_factor')