Question about a way variable appears
3 ビュー (過去 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!