readVariables

read variables from file


Declaration

 varargout = readVariables(variableNames)

Parameters

  • variableNames (repeating) list of variable names

Returns

  • varargout (repeating) list of variable data

Discussion

Pass a list of variables to read and the data will be returned in the same order.

  [x,y] = ncfile.readVariables('x','y');