
I think that the amplitude of electric field in the argument of AddCoaxialPort is not having any effect. In the file AddCoaxialPort.m at lines 207, 208 is:
port.excite = 1;
evec = [1 1 1];
I believe it should be:
port.excite = 1;
evec = [excite_amp excite_amp excite_amp];
I understand that for most cases it is not important and can be easily recalculated in the post processing, just since it is already there ...

Another thing I noticed in the AddCoaxialPort.m file is the definition of function for exciting electric field distribution:
func_Ex = [ nameX '/(' nameX '*' nameX '+' nameY '*' nameY ') * (sqrt(' nameX '*' nameX '+' nameY '*' nameY ')<' num2str(r_o) ') * (sqrt(' nameX '*' nameX '+' nameY '*' nameY ')>' num2str(r_i) ')'];
func_Ey = [ nameY '/(' nameX '*' nameX '+' nameY '*' nameY ') * (sqrt(' nameX '*' nameX '+' nameY '*' nameY ')<' num2str(r_o) ') * (sqrt(' nameX '*' nameX '+' nameY '*' nameY ')>' num2str(r_i) ')'];
func_E{idx_prop_n} = 0;
func_E{idx_prop_nP} = func_Ex;
func_E{idx_prop_nPP} = func_Ey;
If I understand it correctly, this function works only in Cartesian coordinates so the excitation in cylindrical coordinates needs to be defined separately. Would it be maybe possible to mention it in the help?
Again, thanks for all your effort,
Jan