Difference between revisions of "Matlab"

From REALab Wiki
Jump to navigation Jump to search
Line 1: Line 1:
Here is the new matlab script page!
Here is the new matlab script page!


=Framework=
==Framework==
*Loops
===Loops===
*Screens
===Screens===
*Show / hide mouse cursor
===Show / hide mouse cursor===
*Example: using loops to control blocks and trials
===Example: using loops to control blocks and trials===


==Display==
==Display==
*Positioning
===Positioning===
*Show text onscreen
===Show text onscreen===
*Loading images into MATLAB
===Loading images into MATLAB===
*Making Textures
===Making Textures===
*Showing images on screen
===Showing images on screen===
*Screen Flip
===Screen Flip===
*Example: displaying onscreen images
===Example: displaying onscreen images===


==Input / Output==
==Input / Output==
*Wait for user input
===Wait for user input===
*Check input value
===Check input value===
*Saving out data
===Saving out data===
*Example: save data to a text file
===Example: save data to a text file===


==Psychology Experiment Specific==
==Psychology Experiment Specific==
===Subject number===
===Subject number===
*Assigning conditions
===Assigning conditions===
*Flipping conditions
===Flipping conditions===
*Condition based image loading
===Condition based image loading===
*Condition based image display
===Condition based image display===
*Display fixation point
===Display fixation point===
*Randomizing image order/positioning
===Randomizing image order/positioning===
*Measuring reaction time
===Measuring reaction time===
*Check for correct response
===Check for correct response===


==Eyelink==
==Eyelink==
Line 37: Line 37:


==Full Examples==
==Full Examples==
*Shape Search
===Shape Search===

Revision as of 22:45, 22 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