Delete a cell, not some elements

조회 수: 2 (최근 30일)
Dommal
Dommal 2016년 5월 21일
댓글: Dommal 2016년 5월 21일
Hi everyone,
Is there an option to delete a cell? Not some elements but the whole cell. Like for variables I would use clear variableName, but for cells this doesn't work.
Thanks

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 5월 21일
a={1 2 3 4}
a(1)=[]
  댓글 수: 1
Dommal
Dommal 2016년 5월 21일
That's what I needed. Thank you!

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by