Problem variable doesn't appear/refresh in the variable editor

조회 수: 2 (최근 30일)
Alex
Alex 2014년 1월 9일
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개)

카테고리

Help CenterFile 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!

Translated by