Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はacell arrayが何であるかを知っています。次の行に来ました:
cell array
cell_array = cell([], 1);
どういう意味ですか?上記の行をどのように読むことができますか?
ありがとう。
cellセル配列を割り当てるために使用されます。この場合: cell_array.
cell
cell_array
したがって、サイズ 0x1 の空のセルが割り当てられます。ただし、これはセルの有用な構文ではありません。他の (カスタム) オブジェクトの場合、そのような空の配列を生成すると便利です。
myArray = myObject.empty(0, 1);