Suppose I have a table T. I want to add a variable x to T. Please advise the steps.

 Respuesta aceptada

Peter Perkins
Peter Perkins el 5 de Jun. de 2018

0 votos

If your table is named T, and your workspace variable is named k, and you want the new variable in the table to be named k, then it's just
T.k = k

Más respuestas (0)

Categorías

Productos

Etiquetas

Preguntada:

el 5 de Jun. de 2018

Respondida:

el 5 de Jun. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by