To all those who are in deep desperation with installing openEMS/Octave/GUIOctave,
read this and rejoice:
(As posted above, I intentionally erased a working installation of the Trinity and set about
to redo it and simultaneously write down what happens and what needs to be done.)
I unzipped openEMS to the following path:
I:\Installationsprogramme\Mathematik_Simulationen\openEMS
I installed GNU Octave under:
"E:\Programme\Mathematik_Simulation\Octave\3.2.4_gcc-4.4.0"
And then I made GUI Octave settle down at:
"E:\Programme\Mathematik_Simulation\GUIOctave\"
Make sure you have the latest version of GUI Octave, right now it seems to be 1.5.4.
GUI Octave enforces restart to complete its installation.
After restart of computer and opening "GUI Octave",
the following message shows in the upper textbox of "GUI OCtave" version 1.5.4:
"
Error message: Redirect console error: 2"
OK. The reason may be the path in the inputbox in the upper right corner
saying "C:\Program Files (x86)\GUIOctave\Work".
Clicking on the browse button next to it I changed that path according to the
path I used for installing GUI Octave:
"E:\Programme\Mathematik_Simulation\GUIOctave\Work"
This didn't help. So I tried
File -> Options -> (left panel) Octave (right side) "GNU Octave - GNU Octave Executable Files Directory"
and entered there the path as per my install:
"E:\Programme\Mathematik_Simulation\Octave\3.2.4_gcc-4.4.0\bin"
Then I closed the program "GUI Octave" and started it again. A lot of text
appeared in the upper textbox. It starts with ">> >> .nargin." and ends with "
dbcont".
As a kind of ever present header, this appears:
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
Whether all that is important, I don't know. I put it down just for the record, so here's the complete list:
>> >> .nargin.
EDITOR
EXEC_PATH
I
IMAGE_PATH
Inf
J
NA
NaN
OCTAVE_HOME
OCTAVE_VERSION
O_APPEND
O_CREAT
O_EXCL
O_RDONLY
O_RDWR
O_TRUNC
O_WRONLY
PAGER
PAGER_FLAGS
PS1
PS2
PS4
P_tmpdir
SEEK_CUR
SEEK_END
SEEK_SET
SIG
S_ISBLK
S_ISCHR
S_ISDIR
S_ISFIFO
S_ISLNK
S_ISREG
S_ISSOCK
WCONTINUE
WCOREDUMP
WEXITSTATUS
WIFCONTINUED
WIFEXITED
WIFSIGNALED
WIFSTOPPED
WNOHANG
WSTOPSIG
WTERMSIG
WUNTRACED
__accumarray_sum__
__actual_axis_position__
__add_datasource__
__additional_help_message__
__all_opts__
__area__
__axes_limits__
__axis_label__
__bar__
__bars__
__builtins__
__clabel__
__contour__
__contourc__
__convn__
__current_scope__
__default_plot_options__
__delaunayn__
__display_tokens__
__dogleg__
__dsearchn__
__dump_symtab_info__
__end__
__errcomm__
__error_text__
__errplot__
__extractpath__
__ezplot__
__fdjac__
__finish__
__fltk_maxtime__
__fltk_redraw__
__get__
__glpk__
__gnuplot_get_var__
__gnuplot_ginput__
__gnuplot_has_feature__
__gnuplot_open_stream__
__gnuplot_version__
__go_axes__
__go_axes_init__
__go_close_all__
__go_delete__
__go_draw_axes__
__go_draw_figure__
__go_execute_callback__
__go_figure__
__go_figure_handles__
__go_handles__
__go_hggroup__
__go_image__
__go_line__
__go_patch__
__go_surface__
__go_text__
__gud_mode__
__img__
__img_via_file__
__init_fltk__
__interp_cube__
__isa_parent__
__isequal__
__keywords__
__lexer_debug_flag__
__lin_interpn__
__line__
__list_functions__
__magick_finfo__
__magick_read__
__magick_write__
__makeinfo__
__marching_cube__
__next_line_color__
__operators__
__parent_classes__
__parser_debug_flag__
__patch__
__pathorig__
__pchip_deriv__
__plr1__
__plr2__
__plt1__
__plt2__
__plt2mm__
__plt2mv__
__plt2ss__
__plt2sv__
__plt2vm__
__plt2vs__
__plt2vv__
__plt__
__plt_get_axis_arg__
__pltopt1__
__pltopt__
__qp__
__quantile__
__quiver__
__remove_fltk__
__request_drawnow__
__scatter__
__sort_rows_idx__
__splinen__
__stem__
__strip_html_tags__
__token_count__
__version_info__
__voronoi__
__which__
__xzip__
abs
accumarray
acos
acosd
acosh
acot
acotd
acoth
acsc
acscd
acsch
add_input_event_hook
addlistener
addpath
addproperty
addtodate
airy
all
allchild
amd
ancestor
and
angle
anova
ans
any
append
arch_fit
arch_rnd
arch_test
area
arg
argnames
argv
arma_rnd
arrayfun
asctime
asec
asecd
asech
asin
asind
asinh
assert
assignin
atan
atan2
atand
atanh
atexit
autocor
autocov
autoload
autoreg_matrix
autumn
available_backends
axes
axis
backend
balance
bar
barh
bartlett
bartlett_test
base2dec
beep
beep_on_error
bessel
besselh
besseli
besselj
besselk
bessely
beta
beta_cdf
beta_inv
beta_pdf
beta_rnd
betacdf
betai
betainc
betainv
betaln
betapdf
betarnd
bicgstab
bicubic
bin2dec
bincoeff
binocdf
binoinv
binomial_cdf
binomial_inv
binomial_pdf
binomial_rnd
binopdf
binornd
bitand
bitcmp
bitget
bitmax
bitor
bitset
bitshift
bitxor
blackman
blanks
blkdiag
bone
box
break
brighten
bsxfun
bug_report
builtin
bunzip2
bzip2
calendar
canonicalize_file_name
cart2pol
cart2sph
case
cast
cat
catch
cauchy_cdf
cauchy_inv
cauchy_pdf
cauchy_rnd
caxis
ccolamd
cd
ceil
cell
cell2mat
cell2struct
celldisp
cellfun
cellidx
cellslices
cellstr
center
cgs
char
chdir
chi2cdf
chi2inv
chi2pdf
chi2rnd
chisquare_cdf
chisquare_inv
chisquare_pdf
chisquare_rnd
chisquare_test_homogeneity
chisquare_test_independence
chol
chol2inv
choldelete
cholinsert
cholinv
cholshift
cholupdate
circshift
cla
clabel
class
clc
clear
clearplot
clf
clg
clock
cloglog
close
closereq
colamd
colloc
colon
colorbar
colormap
colperm
columns
com2str
comet
comma
command_line_path
common_size
commutation_matrix
compan
compare_versions
compass
complement
completion_append_char
completion_matches
complex
computer
cond
condest
confirm_recursive_rmdir
conj
continue
contour
contour3
contourc
contourf
contrast
conv
conv2
convhull
convhulln
convn
cool
copper
copyfile
cor
cor_test
corrcoef
cos
cosd
cosh
cot
cotd
coth
cov
cplxpair
cputime
crash_dumps_octave_core
create_set
cross
csc
cscd
csch
cstrcat
csvread
csvwrite
csymamd
ctime
ctranspose
cummax
cummin
cumprod
cumsum
cumtrapz
cut
cylinder
daspk
daspk_options
dasrt
dasrt_options
dassl
dassl_options
date
datenum
datestr
datetick
datevec
dbclear
dbcont
That's at least a sign of goodwill, so I pressed on.
Next I clicked along the following trail starting at the menu bar of GUI Octave:
File -> Set Paths... -> (button) "Add with Subfolders"
and enter the path suggested in
"
http://www.openems.de/index.php/OpenEMS#Installation" i.e. "addpath('D:/openEMS/matlab');"
but of course differently: "I:\Installationsprogramme\Mathematik_Simulationen\openEMS\matlab"
It is to all appearances just necessary to steer to the path openEMS was
extracted in and then going to the "matlab" part as indicated above.
Then a message replaces the list, saying in essence that GUI Octave adds all
the paths found within the "matlab"-path. Then I closed GUI Octave and reopened it.
And now some small success:
"
>> >> 1+1
ans = 2
>>"
But there is no menu bar in the "Editor / Debugger" textbox (lower part of the
display). The uneasy feeling starts again. Frustration is looming.
But here's the trick: Close "GUI Octave" and reopen it again:
Everything is there where it is supposed to (at least I hope so, but it looks
neat and tidy: the "Editor / Debugger" is back and this time with a menu bar!
OK. Now for the big one:
(Menu bar of the "Editor / Debugger") File -> Open... -> (put in YOUR path to
the trial files, mine is:)
"I:\Installationsprogramme\Mathematik_Simulation\openEMS\matlab\Tutorials\Simple_Patch_Antenna.m"
Hit Open (or Öffnen) or what your windows language pack suggests.
In the "Editor / Debugger" textbox the content of the trial file
"Simple_Patch_Antenna.m" is shown. Tears are welling up in my eyes. Birds are singing louder.
I press the ominous green triangle button (tooltip text: "Run / Debug / Continue" and the
"AppCSXCAD" window appears. I can't help sobbing.
Days of trial and error are over! I'm free at last to do what I wanted to do in the first place:
simulate the B-field of a WiTricity-like setup. Now I hope openEMS is up to the task!
I hope this install guide is of any help for other tormented souls out there.
I wrote this down while doing the install.
Oh, yes: All those installs, trials and errors and a lot of search on the web took the better
part of week. This install done by this guide will take you (depending on the speed of your
Internet connection and of your computer) half an hour at the most.
When there are results of my inadequate tinkering with things far beyond my horizon, I will try
to post the way I got there.
Best regards,
Georg Huber
And
special thanks to Thorsten who showed me that there must be a way leading to a
working installation of the openEMS/Octave/GUIOctave Trinity.