⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pb_remove.m

📁 这是机械工业张德丰《MATLAB与外部程序接口编程》随书源码
💻 M
字号:
function pb_remove(pb_htalbe, name)
if ~pb_htable.containsKey(pb_keyfilter(name))
    disp(sprintf('The name %s is not in the phone book', name))
    return
end;
r=input(sprintf('Remove entry %s (y/n)? ', name), 's');
if r= ='y'
    pb_htable.remove(pb_keyfilter(name));
    disp(sprintf('%s has been removed from the phone book,', name))
else
    disp(sprintf('%s has not been remove', name))
end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -