Code covered by the BSD License  

Highlights from

4.7 | 7 ratings Rate this file 25 Downloads (last 30 days) File Size: 274 KB File ID: #21652
image thumbnail



Matt Dunham


02 Oct 2008 (Updated )

Display a directed or undirected graph in a Matlab figure window.

| Watch this File

File Information

This package, (formerly called Graphlayout) is now maintained here:

Please see this site the for the latest downloads and documentation.


This file inspired A Patch For Graph Viz4 Matlab Toolbox.

MATLAB release MATLAB 7.6 (R2008a)
Other requirements Requires Matlab 2008a or newer; GraphViz available free from
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
23 Jan 2013 Reza Farrahi Moghaddam

Reza Farrahi Moghaddam

11 Jan 2013 Peter Merk

Peter Merk

Great tool! Very easy to use and nice graphics. The only thing missing is the possibility to name the edges.

18 Sep 2012 Marcel Rüland

Marcel Rüland

Brilliant tool. Easy to use, very nice GUI and good idea.
Well done.

22 Jan 2012 Lie Tome

Lie Tome

Works wonderfully well.

20 Jun 2011 haya


Hello, I'm trying to use graphViz4Matlab
I read the comments in the code and saw I can give only my adj matrix as input. I entered a 99x99 matrix and got the follow error:??? Error: File: C:\MATLAB7\work\Wlan-matrix2\graphViz4Matlab.m Line: 86 Column: 26
The expression to the left of the equals sign is not a valid target for an assignment.
In the code the line itself is:
properties(GetAccess = 'public', SetAccess = 'private')
can you please tell me what i did wrong, I expected a simple line like this wont have any problem
thank you

Comment only
28 Jul 2010 Julian Xue

Julian Xue

Works great, but takes forever for large graphs (>1000 nodes). Is there a faster version available?

17 Apr 2010 Shicai Yang

Shicai Yang

it looks great~

12 Oct 2009 Daniel Zoran

Daniel Zoran

04 Feb 2010

Various bug fixes, as well as an additional option to color the edges.

27 Feb 2010

Now automatically adds graphViz to your system path, from within Matlab, (if running windows).

03 Mar 2010

Fixed a small bug in the setupPath() function of the util directory. Output argument was not always getting set.

Contact us