?? strs2sray.m
字號:
function[row]=strs2sray(x)%STRS2SRAY Converts a cell array of strings into a string array /w returns% __________________________________________________________________% This is part of JLAB --- type 'help jlab' for more information% (C) 2002, 2004 J.M. Lilly --- type 'help jlab_license' for details if ~iscell(x) xtemp=x; clear x x{1}=xtemp;end%x=packstrs(x);M=length(x);for i=1:M n(i)=length(x{i});endN=max(n);row=[];for i=1:M row=[row,x{i},char(10)]; end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -