function all_docs = parseAudioObjectHTML(fname,outpname); if nargin < 2 outpname = 'NodeDocs\'; if nargin < 1 fname = 'Temp\node_docs.txt'; end end %% get the data if iscell(fname) % we're already given the text, so no need to load it all_lines = fname; else % read file fid=fopen(fname,'r'); all_lines=[]; tline=fgetl(fid); while ischar(tline) all_lines{end+1} = tline; tline=fgetl(fid); end fclose(fid); end %% parse the file into subfiles all_data=[]; targ_str = '