Code covered by the BSD License  

Highlights from
graphViz4Matlab

image thumbnail

graphViz4Matlab

by

 

02 Oct 2008 (Updated )

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

tokenize(str,delimiter)
function tokens = tokenize(str,delimiter)
% tokenize a string    
    if(nargin < 2)
       delimiter = ' ' ; 
    end
    tokens = textscan(str,'%s','delimiter',delimiter, 'bufsize', 100000);
    tokens = tokens{:};
end

Contact us