Undefined function 'helperPolarizationView' for input arguments of type 'double'.

I am trying to use 'helperPolarizationView' command to view polarization of two electric field which are defined Ex=Exo*cos(wt); and Ey=Eyo*cos(wt+phi);
where Exo=amplitude of E-Field along x axis, Eyo=amplitude of E-Field along y axis, wt=omega*t (frequency in rad/sec), phi is the time phase difference between Ex and Ey.
here's the code:
I am getting the error as given:
tried this command on three different pc it did work only one that was having MATLAB 2019a while other 2 were having MATLAB 2018a and 2010a

3 comentarios

Hussain - do you have the Phased Array System Toolbox? If you do, does it have this function? To find out if you have this function, type the following at the command line
which helperPolarizationView -all
What does it return?
it returns the following
'helperPolarizationView' not found.
:-(
although i have found Phased array system toolbox in simulink but i think that tool does not have this function,..
is there any way that i can save this function by copying source code from other pc??

Iniciar sesión para comentar.

 Respuesta aceptada

This is a helper function for the example, so you need to open that example from MATLAB. This will copy the supporting files into a directory. Then you should be able to use it.
If you find it useful, please let me know and we can see if there is a way to productize it as a feature.
HTH

3 comentarios

i have some how managed to find that example (given in code section) from another pc and tried to save it in examples folder of MATLAB but i dont have permission to save the m.file in that folder, instead i saved it in C/User/User_Name/Documents/MATLAB...but even then its not working
%% Modeling and Analyzing Polarization
% This example introduces the basic concept of polarization. It shows how
% to analyze the polarized field and model the signal transmission between
% polarized antennas and targets using Phased Array System Toolbox(TM).
% Copyright 2012-2016 The MathWorks, Inc.
(Copyrighted code removed - WDR)
If you have Phased Array System Toolbox, type
>> demo toolbox phased
then find this example. There should be a button says someting along "Open Example". When you do that, all supporting file will be saved into a folder and you can find the helper funciton there.
HTH
Hussain Ali
Hussain Ali el 9 de Abr. de 2020
Editada: Hussain Ali el 9 de Abr. de 2020
it worked!!!
thank you so much...

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

el 3 de Abr. de 2020

Editada:

el 9 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by