Hello,
I am using a student version of Matlab. Matlab R2019a.
I am trying to install the openEMS solver.
I did the following, together with the instructions of installation:
Download the latest 64bit openEMS.
-> I downloaded openEMS_x64_v0.0.35.zip
Unzip to a folder of your choice e.g. "D:/" (zip contains an openEMS folder)
-> I extracted the zip file in my desktop folder
Add the openEMS path to Matlab (maybe in a "startup.m" in your Matlab startup folder):
add path('D:/openEMS/matlab');
-> This is the part I got confused.
-> I used the environment variables under Windows
->Windows [Control Panel] in [System] to open [Advanced System Settings] and select [Environment Variables] button. [New] or [Edit] Click to environment variable MATLABPATH to create or edit. So my variables are
Variable name: MATLABPATH
Variable value: C:/openEMS/matlab
I restarted Matlab r2019a.
Once I go for checking in the cmd command window, I typed openEMS to check but it shows:
'openEMS' is not recognized as an internal or external command, operable program or batch file.
I am not really sure how to add the path in windows.
thank you for your time.
openEMS and Matlab
Moderators: thorsten, sebastian
Re: openEMS and Matlab
Hi there,
Hopefully I can help:
All you need to do is run the command below in Matlab before can run OpenEMS commands (just type it in the Matlab command window and press enter). The suggestion is that you add this to your startup.m file (which I understand gets called every time matlab launches, saving you having to run this command every time).
(Replace D:/openEMS/ with the path to your installation folder
Qbort
Hopefully I can help:
All you need to do is run the command below in Matlab before can run OpenEMS commands (just type it in the Matlab command window and press enter). The suggestion is that you add this to your startup.m file (which I understand gets called every time matlab launches, saving you having to run this command every time).
Code: Select all
addpath('D:/openEMS/matlab');
Qbort
-
- Posts: 2
- Joined: Fri 30 Aug 2019, 12:31
Re: openEMS and Matlab
Hi Qbort!
Thanks!
/skyblade
Thanks!
/skyblade