Code covered by the BSD License  

Highlights from

5.0 | 9 ratings Rate this file 56 Downloads (last 30 days) File Size: 12.8 KB File ID: #4915
image thumbnail



Giampiero Campa (view profile)


12 May 2004 (Updated )

Multitrack 3D Simulink Scope.

| Watch this File

File Information

This block is an enhanced version of the standard XYGraph simulink block.

The standard XYGraph allows to plot the motion of ONE point in the XY plane. This block allows to plot the motion of SEVERAL points in the XYZ space. In other words each point draws a line as it moves, so you end up having several lines in the plot instead of just one. Of course setting the camera position parameter to [0 0 1] reduces the plot to a classic 2D one.

This block is very useful when you have to compare the motion of a point versus a reference trajectory.

The file M2DScope.mdl contains the block.
The file sfunxyz.m is the actual s-function that implements the scope.


Required Products Simulink
MATLAB release MATLAB 5.3 (R11)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)
13 May 2014 malek

malek (view profile)

it is useful

08 Apr 2013 Nestor Aguillon  
08 Apr 2013 Nestor Aguillon

Excuse my ignorance but.. how do I install this block? It could be helpful to me

30 Sep 2011 Emanuele Ruffaldi

Really useful block. Thanks.

02 Mar 2010 Gönenç

Hi, I put the block on top of my aircraft model. After trimming the aircraft, trimming needs to be terminated. I use the following command bu it doesn't work with the 3d scope.

>> feval(model,[],[],[],'term');

??? Error using ==> feval
--> Error evaluating 'StopFcn' callback of XYZ multiscope block (mask) 'Model/Subsystem/XYZ Graph'. Index exceeds
matrix dimensions.

Error in ==> end_trim at 14

Comment only
12 May 2006 nikhil santosh

This is just too neat!

14 Dec 2005 H jr N

very useful

15 Apr 2005 Richard pfisterer

There is a slight bug if there are more than 6 inputs.
To fix, change the end of line 170 that reads
or to be more general to

12 Jan 2005 Sebas Nani

It's Work

05 Jul 2004 Ridanto poetro  
18 May 2004

Removed ugly spaces from description.

Contact us