How to interface Matlab and Ansys Maxwell ?
42 views (last 30 days)
Show older comments
I am currently working with Ansys Maxwell for the electromagnetic simulations of electric motors. To automate the simulations with different dimensions of different parts of motor, I would like to write a Matlab script and use it as an interface to control Ansys Maxwell. The FEM results will be provided by Maxwell. Only the commands and instructions are sent from Matlab script to Maxwell. I would like to know if this is possible and if there any resources for the mentioned task. Thank you.
1 Comment
Klaus Kreckler
on 12 Sep 2019
Do you have a solution for your question?
At this time I´m looking for the same kind of code.
Best regards,
Klaus
Answers (2)
Soma Ardhanareeswaran
on 19 Oct 2016
There is no direct interface to communicate with Ansys Maxwell from MATLAB. However, you can use the 'system' command in MATLAB to invoke the Ansys Maxwell scripts and store the output in a file. Refer to https://www.mathworks.com/help/matlab/ref/system.html for more help on using the 'system' command.
You can then process the output files from the simulator in MATLAB to perform the required operations.
Hussein Ali
on 1 Feb 2022
Edited: Hussein Ali
on 1 Feb 2022
Can you explain how I can investigate from maxwell Ansys result in MATLAB step by step
0 Comments
See Also
Categories
Find more on Motor Drives in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!