MatlabClient.put

MatlabClient.put(name, value)[source]

Put a variable in the Matlab workspace.

Parameters
  • name (str) – The name of the variable.

  • value () – The value of the variable.

Examples

>>> m = MatlabClient(verbose=True, interactive=True)
>>> m.put('A', m.matrix([[1, 0, 1, 3], [2, 3, 4, 7], [-1, -3, -3, -4]]))
>>> m.put()
>>> m.put()