Experiment window run in the background
古いコメントを表示
Hello, I builled an visual experiment, and every thing is working fine except one important thing - I want that the participant will press the Spcabar key in part of the trials; The problem is that the experiment window keep exit each time I press on the spacebar key, and continue running in the background... (if I go back to the experiment window it's still runnung but again exit from this window). It's write to me this error:
"Error using matlab.ui.Figure/get Invalid or deleted object."
"Error in TwoBack_finalll (line 74) h_but = get(hf,'CurrentCharacter')";
what this means? in other experiment code this function work excelent... :( and what should I do about it??
Thank you, Rotem.
回答 (3 件)
Walter Roberson
2018 年 3 月 6 日
0 投票
I suspect that you are trying to get the current character of an axes but I suspect that you are using imshow. imshow tends to delete the axes.
Source code would help.
Rotem Maymon
2018 年 3 月 6 日
編集済み: Walter Roberson
2018 年 3 月 6 日
1 件のコメント
Walter Roberson
2018 年 3 月 6 日
I am not sure at the moment, but I recommend that you have a look at my responses in https://www.mathworks.com/matlabcentral/answers/?term=tag%3A%22always+parent%22
Rotem Maymon
2018 年 3 月 7 日
0 投票
1 件のコメント
Walter Roberson
2018 年 3 月 7 日
Please post the modified version of your code that takes care to parent every graphics operation. (No point in my duplicating that effort.)
カテゴリ
ヘルプ センター および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!