Borrar filtros
Borrar filtros

Adding elements to the end of cell array specific row

3 visualizaciones (últimos 30 días)
Shivik Garg
Shivik Garg el 12 de Sept. de 2017
Comentada: madhan ravi el 3 de Abr. de 2019
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?

Respuesta aceptada

the cyclist
the cyclist el 12 de Sept. de 2017
c{1} = [c{1} [8 10 16 7 11]]
  3 comentarios
Philipp Lenz
Philipp Lenz el 3 de Abr. de 2019
Editada: Philipp Lenz el 3 de Abr. de 2019
Hey , thanks for the awnser but it doenst work with a simulink model. Do you know how to solve this?
madhan ravi
madhan ravi el 3 de Abr. de 2019
Use matlab function block.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by