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.
パケットを作成したいのですが、データロードは配列です。ヘッダーについては、フィールドのインデックス付けが簡単になるため、構造体を作成したいと思います。送信するには、構造体と配列の両方を連結してパケットを作成する必要があります。どうすればいいですか?
セル配列を使用する必要があります。
a = 1:10; b = struct('x',1,'y',2); packet = {a, b};