www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@sweepsetfilter/private/parseNoteString.m
function note = parseNoteString(noteExp, noteString, noteColor) %PARSENOTESTRING Create a test note structure % % PARSENOTESTRING(NOTEEXPR, NOTESTR, NOTECOLOR) creates a test note % structure from a note expression, note string and note color. % Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc. % Make sure inputs are strings noteExp = char(noteExp); noteString = char(noteString); note = struct(... 'OK', false,... 'inlineExp', vectorize(mbcinline(noteExp)),... 'isMultiNote', false,... 'lAppliesTo', [],... 'noteColor', noteColor,... 'noteExp', noteExp,... 'noteString', noteString,... 'result','',... 'userdata', []);