root/applications/bdmtoolbox/mex/RV.m @ 706

Revision 706, 339 bytes (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
RevLine 
[615]1function r=RV(names,sizes,times);
[630]2% create RV from cell of names, vector of sizes and vector of time delayes
[615]3
4r.class='RV';
[640]5if isstr(names)
6    names = {names};
7end
[615]8r.names=names;
9
10if nargin>1
11    r.sizes = sizes;
[630]12else
13    r.sizes = ones(1,length(names));
[615]14end
15if nargin>2
16    r.times = times;
[630]17else
18    r.times = zeros(1,length(names));
[615]19end
Note: See TracBrowser for help on using the browser.