MATLAB: License path: C:\Users\heri heni\AppDa​ta\Roaming​\MathWorks​\MATLAB\R2​017a_licen​ses;C:\Pro​gram Files\MATL​AB\R2017a\​licenses\l​icense.dat​;C:\Progra​m Files\MATL​AB\R2017a\​licenses\l​icense_R20​17a.lic;C:​\Program Files\MATL​AB\R2017a\​licens

2017a matlab

hx= helix( 'Radius',20e-3,'width',1.2e-3,'turns',7,'spacing',20e-3);
figure(1)
show(hx)
figure(2)
pattern(hx,93.5e6)
figure(3)
patternE1evation(hx,93.5e6);
figure(4)
patternAzimuth(hx,93.5e6)
figure(5)
charge(hx,93.5e6)
directivity = pattern(hx,93.5e6,0,90);
disp(" The directivity of the antenna in the dirction from 0 degeree to 90 degeree is give by: ");
disp(directivity);
the code is the above
License path: C:\Users\heri heni\AppData\Roaming\MathWorks\MATLAB\R2017a_licenses;C:\Program
Files\MATLAB\R2017a\licenses\license.dat;C:\Program Files\MATLAB\R2017a\licenses\license_R2017a.lic;C:\Program
Files\MATLAB\R2017a\licenses\trial_123_R2017a.lic
Licensing error: -5,357.
Error in final (line 1)
hx= helix( 'Radius',20e-3,'width',1.2e-3,'turns',7,'spacing',20e-3);
please tell me the solution of this problem

Best Answer

None of your license files contains a license for Antenna Toolbox. You need to add that toolbox to your license.
If you already purchased a license then sometimes all you need to do is reactivate to get the new license installed.
If you do not already have a license then you will need to purchase one. If I recall correctly it is not possible to purchase directly for a license that old without bringing your MATLAB license up to the current release.
It looks as if you used to have a trial license, but that trial is probably long expired.
Related Question