Code covered by the BSD License  

Highlights from
Simuwave

image thumbnail

Simuwave

by

 

A Simulink library for wavelet processing on 1-D signals

webPath(fname)
function w = webPath(fname)
if exist(fname)
	w = which(fname);
else
	w = which('nohelp.html');
end
Friend = computer;
if strcmp(Friend,'MAC2'),
	PATHNAMESEPARATOR = ':';
elseif strcmp(Friend,'DEC_RISC') | strcmp(Friend,'SUN4')   | ...
	strcmp(Friend,'SOL2')     | strcmp(Friend,'SGI')    | ...
	strcmp(Friend,'LNX86')    | strcmp(Friend,'HP700')  | ...
	strcmp(Friend,'SGI64')    ,
	PATHNAMESEPARATOR = '/';
elseif strcmp(Friend(1:2),'PC');
	PATHNAMESEPARATOR = '\';
else
	disp('I don*t recognize this computer; ')
	return
end
w = strrep(w,PATHNAMESEPARATOR,'/');

Contact us