Tuesday, March 24, 2015

Set the properties of a dataset array in Matlab

The % signal, %, can be utilized within the matlab code so as to add explanatory info to the code. Equally, we will add explanatory info to a dataset array, through the use of the dataset array properties. The set perform can be utilized to assign values to the dataset property, and the get perform can be utilized to entry these info.

DS=dataset(...) % a dataset array is constructed
DS=set(DS, 'Description', 'No matter can describe the dataset might be put right here');
get(DS) % present dataset array properties
abstract(DS) % additionally present dataset array properties 

The 'Description' could be changed with different properties that are displayed by the get perform. 

No comments:

Post a Comment