I'm trying to run Maxwell in Matlab (DOS Command line). Therefore I created an input VBS-Script that automatically starts a Simulation and exports the results to a csv-file that I can use in Matlab to run other Simulation. The VBS-Macro works just fine if I manually start it in Maxwell. So the only Problem that remains is to create an interface that starts the maxwell.exe. I tried using !“%ProgramFiles%\AnsysEM\AnsysEM16.0\Win64\maxwell.exe“ –b –i input_script.vbs –o result.csv (in Matlab) but that does not work at all.
Thanks in advance for your help!