Question about a way variable appears
조회 수: 1 (최근 30일)
이전 댓글 표시
A function is not displaying indiviual cells in Variables but content is fine when indexed through. The information in cells is populated by a _U function.
댓글 수: 2
Dyuman Joshi
2023년 11월 21일
"A function is not displaying indiviual cells in Variables ..."
What/which function?
Image Analyst
2023년 11월 21일
편집: Image Analyst
2023년 11월 21일
Do you mean that when you double click on the variable name in the Workspace panel to bring it up in its own panel, it shows that the cell is empty? But if you do something like
celldisp(ca)
or
ca{1}
it shows a value? Be more explicit in what you did, including code, or...

답변 (2개)
Star Strider
2023년 11월 21일
Functions have their own workspaces. Variables internal to a function will not appear in the ‘Workspace’ window because it only displays variables in the main script workspace, not individual function workspaces.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!