To see the maximum number of trials enter your variable that specifies the total number of trials for _totalTrialNumber_. It is recommended to add this at the beginning of each trial (i.e. during the ITI).
```matlab
send2ClientPanel('trlnr',currentTrialNumber);
send2ClientPanel('trlnr',currentTrialNumber);
```
To see the current trial number you can usually enter the variable that is specified for the loop (e.g. _for i=1:trial.num_, _i_ being the variable that gives you the trial number) instead of _currentTrialNumber_. If you are using a paradigm with more than one loop, you may need to define a separate variable for this. It is recommended to add this at the beginning of each trial.
...
...
@@ -135,12 +135,12 @@ To display the percentages of correct trials, a logical vector must be entered l