# GetSecs on Windows PTB

**URL:** <https://psychtoolbox.discourse.group/t/getsecs-on-windows-ptb/1635>\
**Category:** Uncategorized\
**Created:** [May 30, 2006, 4:15pm UTC](https://psychtoolbox.discourse.group/t/getsecs-on-windows-ptb/1635 "2006-05-30T16:15:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [May 30, 2006, 4:15pm UTC](https://psychtoolbox.discourse.group/t/getsecs-on-windows-ptb/1635/1 "2006-05-30T16:15:39Z")

</div>

Hello,  
  
I just downloaded PTB 2.54 for Windows XP.  
  
When I type GetSecs on the command line there is no output!! I have no  
trouble using waitsecs, for example, and outputting the help menu for  
GetSecs (help GetSecs).  
  
Can anybody tell me what the problem is??  
  
Thank you for your time and help  
  
  
Pat Bedard

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [May 30, 2006, 5:21pm UTC](https://psychtoolbox.discourse.group/t/getsecs-on-windows-ptb/1635/2 "2006-05-30T17:21:45Z")

</div>

Did you try:  
  
t=GetSecs  
  
instead of just GetSecs as well?  
  
What is the output of 'which GetSecs' ?  
  
-mario  
  
  

> --- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com), "betmozcho" \<betmozcho@...\> wrote:  
> \>  
> \> Hello,  
> \>   
> \> I just downloaded PTB 2.54 for Windows XP.  
> \>   
> \> When I type GetSecs on the command line there is no output!! I have no  
> \> trouble using waitsecs, for example, and outputting the help menu for  
> \> GetSecs (help GetSecs).  
> \>   
> \> Can anybody tell me what the problem is??  
> \>   
> \> Thank you for your time and help  
> \>   
> \>   
> \> Pat Bedard  
> \>

---

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [May 30, 2006, 8:34pm UTC](https://psychtoolbox.discourse.group/t/getsecs-on-windows-ptb/1635/3 "2006-05-30T20:34:17Z")

</div>

Hello Mario,  
  
Here it goes:  
  

> \>\>t=GetSecs

Output argument "s" (and maybe others) not assigned during call to  
"C:\Matlab\R2006a\toolbox\psychsource\_2.54\winsource254\target\psychtoolbox\psychbasic\GetSecs.m  
(GetSecs)".  
  
Error in ==\> GetSecs at 1  
  
function s=GetSecs(s,subscript)  
  
  
  

> \>\>which GetSecs

C:\Matlab\R2006a\toolbox\psychsource\_2.54\winsource254\target\psychtoolbox\psychbasic\GetSecs.m  
  
  
Does it help??  
  
--- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com), "Mario Kleiner"  
\<mario.kleiner@...\> wrote:  

> \>  
> \> Did you try:  
> \>   
> \> t=GetSecs  
> \>   
> \> instead of just GetSecs as well?  
> \>   
> \> What is the output of 'which GetSecs' ?  
> \>   
> \> -mario  
> \>   
> \>   
> \> --- In [psychtoolbox@yahoogroups.com](mailto:psychtoolbox@yahoogroups.com), "betmozcho" \<betmozcho@\> wrote:  
> \> \>  
> \> \> Hello,  
> \> \>   
> \> \> I just downloaded PTB 2.54 for Windows XP.  
> \> \>   
> \> \> When I type GetSecs on the command line there is no output!! I have no  
> \> \> trouble using waitsecs, for example, and outputting the help menu for  
> \> \> GetSecs (help GetSecs).  
> \> \>   
> \> \> Can anybody tell me what the problem is??  
> \> \>   
> \> \> Thank you for your time and help  
> \> \>   
> \> \>   
> \> \> Pat Bedard  
> \> \>  
> \>
