Why is the Antenna Designer app return 'Undefined function or variable'?

Clicking on the Antenna Designer icon in the apps dropdown returns
Undefined function or variable 'antennaDesigner'.
Running restoredefaultpath and pathtool does nothing. Running 2017a.

17 Comments

Could you confirm that the Antenna Toolbox is installed?
Yes, other app icons work as expected and the folder is pesent.
Do you need to see the lines in pathdef?
what is the closest you have to
fullfile(matlabroot, 'toolbox', 'antenna', 'antenna', 'antennaDesigner.m')
?
All lines containing 'antenna'
matlabroot,'\toolbox\antenna\antenna;', ...
matlabroot,'\toolbox\antenna\antenna\antennautilities;', ...
matlabroot,'\toolbox\antenna\antenna\meshutilities;', ...
matlabroot,'\toolbox\antenna\atexamples;', ...
Through the installer, or through MatLab?
I will try both, for safety. What is the procedure through Matlab, please? Does it need the install media?
With current versions, Add-Ons -> Manage Add-Ons . Find the toolbox in the list. On the right hand side of that, where you see the three vertical dots, click on that, and click Uninstall .
Then to reinstall, Add-Ons -> Get Add-Ons, find the toolbox in the list, click to install.
Do you mean that the above procedure did not manage to uninstall, or not to reinstall afterwards, or that after you went through that process you still could not find antennaDesigner ?
I just tried in R2017a and had no difficulty on my system. The file was at
/Applications/MATLAB_R2017a.app/toolbox/antenna/antenna/antennaDesigner.m
What do you see with
which -all antennaDesigner
If you get a result that says something about no license at the end of the line then it means that you have the software installed but that your license does not permit you to use Antenna toolbox.
The uninstall and reinstall succeeded, but Antenna designer still will not run. I will try your command a little later.
I have a similar problem with R2015b and the 30 days trial for antenna Toolbox. Get the same message after typing antennaDesigner in the cmd window. I also can`t find the antennaDesigner.m File. I reinstallt the toolbox and got the same result again... any ideas?
Philipp, according to its documentation page and the Release Notes the antennaDesigner app was introduced in release R2017a. You will need to upgrade to that release or later and have Antenna Toolbox installed in order to use it.
It is not common to be able to get a trial for a version that old, except maybe for people who need 32 bit MS Windows versions ?

Sign in to comment.

Answers (1)

The Antenna Designer app was introduced in R2017a. To use this app, you must upgrade to R2017a or a later release and ensure that Antenna Toolbox is installed.
To know more about AntennaDesigner please refer this :Antenna Designer - Design, visualize, and analyze antennas - MATLAB

Products

Asked:

on 17 Feb 2018

Answered:

on 19 Aug 2026 at 6:54

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!