Difference between revisions of "Matlab"

From REALab Wiki
Jump to navigation Jump to search
Line 38: Line 38:
==Full Examples==
==Full Examples==
===Shape Search===
===Shape Search===
===Automatic coding of correct trials===

Revision as of 23:13, 29 June 2012

Here is the new matlab script page!

Framework

Loops

Screens

Show / hide mouse cursor

Example: using loops to control blocks and trials

Display

Positioning

Show text onscreen

Loading images into MATLAB

Making Textures

Showing images on screen

Screen Flip

Example: displaying onscreen images

Input / Output

Wait for user input

Check input value

Saving out data

Example: save data to a text file

Psychology Experiment Specific

Subject number

Assigning conditions

Flipping conditions

Condition based image loading

Condition based image display

Display fixation point

Randomizing image order/positioning

Measuring reaction time

Check for correct response

Eyelink

under construction...

Full Examples

Shape Search

Automatic coding of correct trials