File mttroot/mtt/bin/trans/m/mtt_strip_name.m artifact 061a293596 part of check-in 297cb7edcf
function stripped_name = mtt_strip_name (name) ## usage: stripped_name = mtt_strip_name (name) ## ## Removes blanks and [] from a port name stripped_name = deblank(name); # remove blanks stripped_name = stripped_name(2:length(stripped_name)-1); stripped_name = deblank(stripped_name); # remove blanks endfunction