Add a new row to a table with addrow function
조회 수: 11 (최근 30일)
이전 댓글 표시
Hi guys I have created a table data and took data of it to create different maneuver arrays now I want to create table t and add these maneuvers, the pos and the nr but only the first row (line) of it.
Because the first row is always the first participant, after all maneuvers I will continue with the 2nd line an do on.
댓글 수: 2
Spencer Chen
2020년 2월 13일
I don't have the addRow() function for my tables (R2018b). Unless it comes with a newer version of Matlabm you might be using it in the wrong context.
It's easy to add rows to tables otherwise. It mostly behaves like a 2D matrix.
Blessings,
Spencer
Walter Roberson
2020년 2월 21일
I notice that you edited to remove reference to addRow() .
The functionality you want is still what I posted the link to at the end of my Answer; several methods are shown there.
답변 (1개)
Walter Roberson
2020년 2월 13일
addRow has to do with Simulink custom formating only.
Adding rows to a table is shown in a few way at https://www.mathworks.com/help/matlab/matlab_prog/add-and-delete-table-rows.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!