Created
July 9, 2019 11:58
-
-
Save schluppeck/6f9f82419a87e2ddf65cec69e5da9691 to your computer and use it in GitHub Desktop.
get pRF stim images from mat file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % getting pRFStimImage from multiple files | |
| % | |
| % ds 2019-07-09 | |
| % task: get stimimage info out of mat file | |
| % go to Etc folder of mrLoadRet directory | |
| cd('Etc') | |
| % find mat files that fit the bill (only retinotopy type) | |
| theFiles = dir('19*.mat') | |
| % in this case #7 was something eelse | |
| theFiles = theFiles(1:6); | |
| % make a cell array of all file names | |
| theFileNames = { theFiles.name }; | |
| % pass to mrLoadRet function (make sure MGL is installed, too) | |
| p = pRFGetStimImageFromStimfile( theFileNames ) | |
| % get a cell array containing (in this case 6) stimImage structs | |
| % continue from here... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment