Problem variable doesn't appear/refresh in the variable editor
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone
I have a problem, I have a GUI function where a table of data (cell 1152,6) is display When I select cell and click on a button, I should annoted the column 6 with a string : "R-1"
For example : my table at the begining is like that:
when I select cells and click on the button the callback of the button is:
choixRejet = 'R-1'
for i=1:length(cellSel)
infra.capteur(3,1).data.tabRejet{cellSel(i),6}=choixRejet;
end
It works well when I display the new table (tabRejet):
But my problem is that when I go to the workspace and look at the infra.capteur(3,1).data.tabRejet the colomn 6 stay empty, there are no R-1, while when I print infra.capteur(3,1).data.tabRejet in the code I do:
for i=1:length(cellSel)
infra.capteur(numCapteur,1).data.tabRejet{cellSel(i),6}=choixRejet;
end
%affichage en rouge des timestamps rejetés
tab=infra.capteur(numCapteur,1).data.tabRejet;
numCapteur
infra.capteur(numCapteur,1).data.tabRejet,
My R-1 appears?!??!??
Why it doesn't appears in the variable in the workspace? My variable infra is define as global in main.m and I annotate it in a gui myFile.m
0 个评论
回答(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!