Adding rows to matlab table -


i have table named patients in matlab created reading excel file using readtable command. add new row table programmatically. have attempted following:

patients.lastname{end+1} = 'stewart'; 

while add value @ correct spot in table, gives generic name row. rownames property in instance important.

how add new row table in matlab , give name, populate it's contents?

this because other entries except last name empty. no worries. in order assign specific rownames, please use following statement. lets suppose want assign last names row names of table.

patients.properties.rownames = patients.lastname; 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -