This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Plot Circle with XY Graph

This example plots a circle in Simulink using an XY Graph block.

The ex_xygraph_block_circle model computes a circle of radius 4, centered at the origin of x-y plane.

The plotted functions are:

When you simulate the model, a figure window appears showing the plotted circle.

ans = 

                   tout: [101x1 double] 

     SimulationMetadata: [1x1 Simulink.SimulationMetadata] 
           ErrorMessage: [0x0 char] 

See Also