MATLAB Answers


Question regarding Simulink diagram with two big closed loops.

Asked by Sunghun Jung on 29 Dec 2012
Latest activity Commented on by P R Adityan
on 23 May 2016

I have two closed loops to draw Unmanned Aerial Vehicle (UAV) and a Unmanned Ground Vehicle (UGV) using Simulink diagram. I separately generated diagrams for UAV and UGV. Basically, UAV tracks UGV while UGV drives on the ground.

The problem is that the timing of drawing UGV is not same with the timing of drawing UAV on a same plot. Speed of drawing UGV is much faster than drawing UAV, so it results UGV drives all the way until simulation time is up while UAV is still near the original position.

I would like to draw one by one, that is, draw one UGV plot and one UAV plot at one time step. Does anyone know how to solve this problem?

A figure shown in the following address describes overall block diagrams.


1 Answer

Answer by Sunghun Jung on 29 Dec 2012
 Accepted answer

Problem solved.

  1 Comment


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!