Borrar filtros
Borrar filtros

Phased Antenna Array Toolbox Display Directivity and Antenna Geometry in App Desginer

4 visualizaciones (últimos 30 días)
Is it possible to use the embedded functions in the Phased Antenna Array Toolbox such as viewArray and pattern functions to plot inside a given axes within the App Designer Window instead of opening a separate window for this purpose?
I have tried the following piece of code where I assign the handle of the created Axis within the App to viewArray Function, but did not work out. The viewArray function keeps opening a new window to plot the geometry or the pattern of the antenna:
function startupFcn(app)
app.Pax = axes(app.ns380211adCodebookGeneratorUIFigure);
app.Pax.Units = 'pixels';
app.Pax.Position = [572 193 621 523];
app.Pax.GridColor = [0.15,0.15,0.15];
end
function VisualizeArrayButtonPushed(app, event)
h = phased.ULA;
h.NumElements = 4;
h.ElementSpacing = 0.5;
h.ArrayAxis = 'y';
viewArray(h, 'AxesHandle', app.Pax, 'ShowNormals', false, 'ShowIndex', 'None');
end

Respuestas (0)

Categorías

Más información sobre Array Geometries and Analysis en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by