MatClassAll.pdf
Topic 9-14
プログラミング経験者ならば、半日で基本的な考え方を理解できるだろう。この場合、前半のTopic 8までは飛ばしても良い、とされている(PsychToolBox HP)が、Topic 6 Functionなどは参照する必要があるし、いくつかミスもあるようだ。しかし、とりあえずはWeb上で手軽に読める点が貴重だ。
注意)
Put the PsychToolbox in the toolbox folder in Matlab. Remember to add the psychtoolbox folder to your path.
Pathは初心者がうっかりしやすい点であるから注意。
The computer has to know where to look for your file. The computer can read files that are in the computer’s current directory, or that are in the computer’ssearch path.
To tell the computer where to look, you set the path. There are two ways to set apath.
Setting the path via the menu bar
Click on the command window and go to the menu bar and choose: File->Set Path. A pop-up window will appearChoose Add to Path and choose the Desktop. Then go to File->Save Path. Then exit the pop-up window.
Setting the path in your code
>p=path;
>path(p,‘c:?Winnt?Profiles?Fine?Desktop’)
その後はダウンロードしたファイルから
>help psychdemos
で、 適宜サンプルを見ながら。
References
Dr. Ione Fine/Doheny Eye Institute/Keck School of Medicine
University of Southern California
http://psy.ucsd.edu/~ifine/
Topic 9-14
プログラミング経験者ならば、半日で基本的な考え方を理解できるだろう。この場合、前半のTopic 8までは飛ばしても良い、とされている(PsychToolBox HP)が、Topic 6 Functionなどは参照する必要があるし、いくつかミスもあるようだ。しかし、とりあえずはWeb上で手軽に読める点が貴重だ。
注意)
Put the PsychToolbox in the toolbox folder in Matlab. Remember to add the psychtoolbox folder to your path.
Pathは初心者がうっかりしやすい点であるから注意。
The computer has to know where to look for your file. The computer can read files that are in the computer’s current directory, or that are in the computer’ssearch path.
To tell the computer where to look, you set the path. There are two ways to set apath.
Setting the path via the menu bar
Click on the command window and go to the menu bar and choose: File->Set Path. A pop-up window will appearChoose Add to Path and choose the Desktop. Then go to File->Save Path. Then exit the pop-up window.
Setting the path in your code
>p=path;
>path(p,‘c:?Winnt?Profiles?Fine?Desktop’)
その後はダウンロードしたファイルから
>help psychdemos
で、 適宜サンプルを見ながら。
References
Dr. Ione Fine/Doheny Eye Institute/Keck School of Medicine
University of Southern California
http://psy.ucsd.edu/~ifine/