RSKreaddata.m

Arguments

Input

-Required- 

  • RSK 

-Optional-

  • t1 : start time for range of data to be read.
  • t2 : end time for range of data to be read.

Output

  • RSK


This function retrieves data values from the .rsk file and adds a single, populated data field. If data already contains values and timestamps, the newly queried values replace the data field.

If you would like to read in only a subsection of the database, the t1 and t2 arguments can be used to enter start and end times in the form of datenum numbers.


Example:

rsk = RSKreaddata(rsk);

OR

tstart = datenum(2014, 05, 03);
tend = datenum(2014, 05, 04);
rsk = RSKreaddata(rsk, 't1’, tstart, 't2’, tend);