Replies: 1 comment
-
|
Hey @44xpre Assuming you are trying to add a port for an Antenna, the fastest way to go will be by using lumped ports. Here is an example from one of the openEMS matlab examples. Adding an excitation is a bit more lower level. You get to choose between excitation types (E or H fields, for example) and other joys. For the newbie path, always start with existing code examples. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all:
I am very new to this, and just installed OpenEMS to prepare for some coursework in EM next semester, I've been trying to simulate simple antennas, but I am now stuck on something pretty (I think) basic that I just can't seem to figure out.
Not enough input arguments.
_Error in AddExcitation (line 32)
CSX = AddProperty(CSX, 'Excitation', name, 'Type', type, 'Excite', excite, varargin{:});
Error in Opt42 (line 43)
CSX = AddExcitation(CSX, 'excitation', 0);_
Below is my code for the referenced lines.
(line 32) CSX = AddProperty(CSX, 'Excitation', name, 'Type', type, 'Excite', excite, varargin{:});
(line 43) CSX = AddExcitation(CSX, 'excitation', 0);
(line44) CSX = AddBox(CSX, 'excitation', 0, [-SimBox(1)/2 -SimBox(2)/2 -SimBox(3)/2], [SimBox(1)/2 SimBox(2)/2 -SimBox(3)/2+lambda/4]);
Could anyone help me, to get pointed in the right direction?
Thank you all, and sorry for the (most likely) stupid question
Beta Was this translation helpful? Give feedback.
All reactions