필터 지우기
필터 지우기

Adding elements to the end of cell array specific row

조회 수: 3 (최근 30일)
Shivik Garg
Shivik Garg 2017년 9월 12일
댓글: madhan ravi 2019년 4월 3일
i have a cell array 1x2. its length is [1x6] [1x4]. i want to add 5 elements to the 1st row how can i do it E.g c{1}=7 7 7 7 8 Now i want to add [8 10 16 7 11] at the of the 1 row so that c{1}= 7 7 7 7 8 8 10 16 7 11. Can somebody help?

채택된 답변

the cyclist
the cyclist 2017년 9월 12일
c{1} = [c{1} [8 10 16 7 11]]
  댓글 수: 3
Philipp Lenz
Philipp Lenz 2019년 4월 3일
편집: Philipp Lenz 2019년 4월 3일
Hey , thanks for the awnser but it doenst work with a simulink model. Do you know how to solve this?
madhan ravi
madhan ravi 2019년 4월 3일
Use matlab function block.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by