-
-
May 18, 2018 at 2:59 pmjayaramSubscriber
I am interested to interface Matlab to Ansys Maxwell. I need to send some project variables from Matlab to Maxwell and use it for Electromagnetic simulations. Later Maxwell needs to send the results to Matlab. Can anyone help me to find some resources on how to do that. Thanks very much for your time.
-
May 21, 2018 at 3:21 pmmgardnerSubscriber
Matlab can interact with Maxwell through Maxwell's scripting interface. When I want to figure out how to do something in Maxwell using Matlab, I generally take advantage of the Maxwell's "Record Script to File" function to record a script of whatever I want to do in Matlab. Then, I convert the syntax from Visual Basic Script to Matlab. Additionally, the Maxwell Scripting Help provides a good resource for finding different scripting commands you can use. Note that to open the interface from Matlab to Maxwell you need to use the following command:
iMaxwell = actxserver('Ansoft.ElectronicsDesktop');
One other note regarding your question: to get data from Maxwell to Matlab, I usually create a Results report and export it from Maxwell as a csv file. Then, Matlab can use csvread to access the data. However, you might look through the Maxwell Scripting Help for commands that could provide an easier approach.
-
May 21, 2018 at 3:33 pmraul.raghavSubscriber
The attached pdf might help you configure Matlab in Ansys Electronics Desktop.
-
May 21, 2018 at 3:39 pmjayaramSubscriber
Thanks very much for the reply. I had seen this file earlier. This mainly deals with optimization and doesn't give details on sending Project variables between Matlab - Maxwell.
-
May 21, 2018 at 3:59 pmraul.raghavSubscriber
Based on the following forum post, I doubt if there is an interface between Matlab and Maxwell. Maxwell sending results to Matlab can be done easily and I'm sure you would have figured it by now.
No direct interface to communicate with Ansys Maxwell from MATLAB
And please refer to mgardner's post (1st reply) which didn't post earlier for some reason.
-
May 24, 2018 at 2:53 pmjayaramSubscriber
Hi Rahul,
Thanks for the reply. I found some topics on using Simplorer to connect to Matlab and send variables. I will try that and see if it helps.
-
August 20, 2019 at 11:21 ambalajisriram15Subscriber
Hi, Jayaram/ Raghav. This is Balaji, researcher at NIT. If you could share your Email ID or phone number I would like to talk to you regarding the same.
My phone number: +91 9884646838
-
February 27, 2023 at 9:30 pmAshishkumar GuptaSubscriber
Hi mgardner,
iMaxwell=actxserver('Ansoft.ElectronicsDesktop');
Error:
Error using actxserver (line 93)
Server creation failed. Invalid ProgID 'Ansoft.ElectronicsDesktop'.How can I rectify this? Please help....
I am trying to call Ansys MAxwell from MATLAB.I converted my VBS into .m file
-
- The topic ‘Interface Matlab – Maxwell’ is closed to new replies.
- HFSS Incident Plane Wave excitement mode
- Simulation of capacitor combining eddy currents with displacement currents
- How to calculate eddy and hysteresis losses of the core?
- Ansys Maxwell 3D – eddy current
- How to determine initial position in motion setup
- dq graph non-conformity
- Simplorer+Maxwell Cosimulation results and Maxwell results mismatch
- Parametrizing coil “terminals” with coil geometry
- Maxwell circuit – PWM
- On-chip inductor design
-
1487
-
599
-
591
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.