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

📄 rmprompt.m

📁 JLAB is a set of Matlab functions I have written or co-written over the past fifteen years for the p
💻 M
字号:
function[str]=rmprompt(str)%RMPROMPT  Removes the matlab prompt ">>" from a string matrix% %   RMPROMPT(STR) where STR is string array or matrix removes all%   instances of ">>" in the string and replaces them with blanks.%   Leading blanks are then removed using FLUSHLEFT.%   _________________________________________________________________%   This is part of JLAB --- type 'help jlab' for more information%   (C) 2000, 2004 J.M. Lilly --- type 'help jlab_license' for details        b1=real(str(1:end-1))==real('>');b2=real(str(2:end))==real('>');index=find(b1.*b2);str(index)=' ';str=flushleft(str);

⌨️ 快捷键说明

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