how to present a blank screen after random numbers?

1 次查看(过去 30 天)
Hello
I will run an experiment, which I should present random numbers for the participant, then he will get a blank screen, then a number, and he will response if the number was in the list or not. so, could you tell me how can I present the blank screen for the participant after some random numbers, because the list is random, so when I tried, sometimes the blank screen came in the middle or first of the list !
Thank you

回答(1 个)

Kim Folmer Andersen
depending on if you use the figure or the command promt. if command promt, "clc" might be what you are looking for. if it's in a figure try clf, maybe with a drawnow() to ensure you force-update the figure.

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by