ドキュメンテーションヘルプ センター
最新のリリースでは、このページがまだ翻訳されていません。 このページの最新版は英語でご覧になれます。
入力が cell 配列かどうかを判別
tf = iscell(A)
例
A が cell 配列である場合、tf = iscell(A) は 1 (true) を返します。それ以外の場合は 0 (false) を返します。
A
1
true
0
false
すべて折りたたむ
cell 配列を作成します。
A = {1,2,3; 'text',rand(5,10,2),{11; 22; 33}}
A=2×3 cell array {[ 1]} {[ 2]} {[ 3]} {'text'} {5x10x2 double} {3x1 cell}
A が cell 配列かどうか判断します。
tf = logical 1
数値配列を作成します。関数 iscell を使用してそれをテストします。
iscell
B = rand(2,5)
B = 2×5 0.1622 0.3112 0.1656 0.2630 0.6892 0.7943 0.5285 0.6020 0.6541 0.7482
tf = iscell(B)
tf = logical 0
入力配列。配列として指定します。入力配列 A には任意のデータ型を使用できます。
この関数は分散配列を完全にサポートしています。詳細については、分散配列を使用した MATLAB 関数の実行 (Parallel Computing Toolbox)を参照してください。
cell | is* | isa | iscellstr | islogical | isnumeric | isobject | isstruct | istable
cell
is*
isa
iscellstr
islogical
isnumeric
isobject
isstruct
istable
この例の変更されたバージョンがシステム上にあります。代わりにこのバージョンを開きますか?
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office