# The response value has been displayed on the script

**URL:** <https://psychtoolbox.discourse.group/t/the-response-value-has-been-displayed-on-the-script/772>\
**Category:** Uncategorized\
**Created:** [November 2, 2011, 1:50am UTC](https://psychtoolbox.discourse.group/t/the-response-value-has-been-displayed-on-the-script/772 "2011-11-02T01:50:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.chen78](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@john.chen78](https://psychtoolbox.discourse.group/u/john.chen78)\
**Post date:** [November 2, 2011, 1:50am UTC](https://psychtoolbox.discourse.group/t/the-response-value-has-been-displayed-on-the-script/772/1 "2011-11-02T01:50:30Z")

</div>

Dear Friends,  
  
In my running PTB program, i ask subjects to press numbers such as "1" and "2" or characters such as "a", and "b" for responses, but when I exit the program,I found the numbers and characters were just displayed in my Matlab script, this cause some accidental error when i run the program for next subject. Do you know how to prevent the display of response into the script.   
  
Thanks in Advance!  
  
John

---

<div class="post-metadata">

**Author:** ![gennaer](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@gennaer](https://psychtoolbox.discourse.group/u/gennaer)\
**Post date:** [November 2, 2011, 3:42pm UTC](https://psychtoolbox.discourse.group/t/the-response-value-has-been-displayed-on-the-script/772/2 "2011-11-02T15:42:40Z")

</div>

Either run the program from the command window or use ListenChar.  
  
Genna  
  

> --- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com), "john.chen78" \<clh20000@...\> wrote:  
> \>  
> \> Dear Friends,  
> \>   
> \> In my running PTB program, i ask subjects to press numbers such as "1" and "2" or characters such as "a", and "b" for responses, but when I exit the program,I found the numbers and characters were just displayed in my Matlab script, this cause some accidental error when i run the program for next subject. Do you know how to prevent the display of response into the script.   
> \>   
> \> Thanks in Advance!  
> \>   
> \> John  
> \>
