export_matrices#

MotorCAD.export_matrices(directory_path)#

Export the resistance, power, and capacitance matrices to files.

The files are given the same name as the MOT model, with different file extensions.

Parameters:
directory_pathstr

Directory for exporting the files. The default is the root directory. To use a different directory, specify the absolute filepath. Use the r'filepath' syntax to force Python to ignore special characters.