Matlab code works with FEKO 2007, but does not work with 2017?
Show older comments
I would like to ask about why my Matlab code works with FEKO 2007 BUT does not with FEKO 2017? Is there any change I have to do for this
{!runfeko sim.pre --execute-prefeko -np }
to make it works with FEKO2017? Any help thankful!
6 Comments
per isakson
on 18 Mar 2017
Edited: per isakson
on 18 Mar 2017
Questions:
- Are you on Windows?
- If so, have you tried to run   runfeko sim.pre --execute-prefeko -np   at the Windows command prompt?
- What is   runfeko   supposed to do?
- Is Altair HyperWorks FEKO 2017 installed on your computer?
MUFTAH AKROUSH
on 20 Mar 2017
Alisha Schor
on 21 Mar 2017
The suggestion above: to execute "runfeko sim.pre --execute-prefeko -np" at a Windows command prompt is a good troubleshooting step. The bang (!) operator simply tells MATLAB to execute a system command. For example,
>> !notepad.exe
opens up the Notepad software. Thus, if the command is no longer working with a FEKO upgrade, it seems that the syntax for opening that external software has changed.
per isakson
on 21 Mar 2017
Edited: per isakson
on 21 Mar 2017
Ten years is a long time. The first thing to check is whether the interface of FEKO 2017 differs from that of FEKO 2007.
- Do you still have FEKO 2007 installed?
- The question remains, have you tried to run   runfeko sim.pre --execute-prefeko -np   at the Windows command prompt? Run both the old and the new version and compare!
- If the interface of FEKO is changed, you will need to update runfeko accordingly.
- Have you tried to ask at the Altair forum ?
- I guess you use Interfacing FEKO and MATLAB for Microstrip Antenna Design, by Randy L. Haupt. Have you tried to contact the author?
per isakson
on 22 Mar 2017
Edited: per isakson
on 22 Mar 2017
- What kind of program is runfeko?
- Is it possible look "inside" to identify its communication with feko?
- Is there a manual for runfeko?
Robert Jones
on 7 Oct 2022
does anybody have a matlab sample code calling FEKO ?
Thank you
Answers (1)
joaquin
on 21 Mar 2017
0 votes
Have you modified the system environment variable "path"? You have to set the path of the new FEKO version (2017). Reboot Windows and run again your code.
3 Comments
MUFTAH AKROUSH
on 22 Mar 2017
MUFTAH AKROUSH
on 22 Mar 2017
joaquin
on 22 Mar 2017
Edited: per isakson
on 24 Mar 2017
Hello, here is the explanation I owed you:
- Open System in Control Panel.
- On the Advanced tab, click Environment Variables, then click the name of the system variable you want to change, "path" in this case.
- Change the old path (FEKO 2007) for the new path (FEKO2017)

I hope this will help you. (It did it in my case)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!