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 件のコメント

Walter Roberson
Walter Roberson 2018 年 2 月 17 日
Could you confirm that the Antenna Toolbox is installed?
Joseph Stavitsky
Joseph Stavitsky 2018 年 2 月 17 日
Yes, other app icons work as expected and the folder is pesent.
Joseph Stavitsky
Joseph Stavitsky 2018 年 2 月 17 日
Do you need to see the lines in pathdef?
Walter Roberson
Walter Roberson 2018 年 2 月 18 日
what is the closest you have to
fullfile(matlabroot, 'toolbox', 'antenna', 'antenna', 'antennaDesigner.m')
?
Joseph Stavitsky
Joseph Stavitsky 2018 年 2 月 18 日
All lines containing 'antenna'
matlabroot,'\toolbox\antenna\antenna;', ...
matlabroot,'\toolbox\antenna\antenna\antennautilities;', ...
matlabroot,'\toolbox\antenna\antenna\meshutilities;', ...
matlabroot,'\toolbox\antenna\atexamples;', ...
Walter Roberson
Walter Roberson 2018 年 2 月 18 日
Try reinstalling the toolbox.
Joseph Stavitsky
Joseph Stavitsky 2018 年 2 月 18 日
Through the installer, or through MatLab?
Walter Roberson
Walter Roberson 2018 年 2 月 18 日
Either way. Whichever is convenient.
Joseph Stavitsky
Joseph Stavitsky 2018 年 2 月 18 日
I will try both, for safety. What is the procedure through Matlab, please? Does it need the install media?
Walter Roberson
Walter Roberson 2018 年 2 月 18 日
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.
Joseph Stavitsky
Joseph Stavitsky 2018 年 2 月 19 日
No luck, sorry
Walter Roberson
Walter Roberson 2018 年 2 月 19 日
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 ?
Walter Roberson
Walter Roberson 2018 年 2 月 19 日
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.
Joseph Stavitsky
Joseph Stavitsky 2018 年 2 月 20 日
The uninstall and reinstall succeeded, but Antenna designer still will not run. I will try your command a little later.
Philipp Stuppner
Philipp Stuppner 2018 年 4 月 9 日
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?
Steven Lord
Steven Lord 2018 年 4 月 9 日
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.
Walter Roberson
Walter Roberson 2018 年 4 月 9 日
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 ?

サインインしてコメントする。

回答 (1 件)

Raghunathraju
Raghunathraju 2026 年 8 月 19 日 6:54

0 投票

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

質問済み:

2018 年 2 月 17 日

回答済み:

2026 年 8 月 19 日 6:54

Community Treasure Hunt

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

Start Hunting!

Translated by