to_matlab#

to_matlab(network, phases=[], filename='')[source]#

Write Network to a Mat file for exporting to Matlab.

Parameters
  • network (GenericNetwork) –

  • filename (str) – Desired file name, defaults to network name if not given

  • phases (list of phase objects ([])) – Phases that have properties we want to write to file