Hello,
Is there any command in the psychtoolbox (Mac version) which is
analogous to the PaintArc command in QuickDraw, which can fill an arc
or wedge? The toobox does contain a FrameArc command, but I could not
find an analogous fill version. I have used the PaintArc command to
create counterphase flickering checkerboards, of the type used by
tootell in his fMRI retinotopy studies. The checkerboard is quickly
drawn by successively filling arcs, defined at smaller radii, at a
particular spoke or sector, and then repeating the process at
successive sectors.
Second question. I have tried to generate mex files using
CodeWarrior 6.0 (IDE 4.1). So far I have been able to do so only from
within CodeWarrior itself. This is not very efficient since I need to
set the appropriate flags in the preference menu each time. There
should be a way to use the "mex" function to generate mex files from
the MATLAB command window. However I have not been able to use the mex
function yet. I think the problem is related to not being able to set
the MEXOPTS file correctly. Do you have any suggestions?
Thanks for your help.
-Giovanni d'Avossa
NeuroImaging Lab, Washington University Medical School
Is there any command in the psychtoolbox (Mac version) which is
analogous to the PaintArc command in QuickDraw, which can fill an arc
or wedge? The toobox does contain a FrameArc command, but I could not
find an analogous fill version. I have used the PaintArc command to
create counterphase flickering checkerboards, of the type used by
tootell in his fMRI retinotopy studies. The checkerboard is quickly
drawn by successively filling arcs, defined at smaller radii, at a
particular spoke or sector, and then repeating the process at
successive sectors.
Second question. I have tried to generate mex files using
CodeWarrior 6.0 (IDE 4.1). So far I have been able to do so only from
within CodeWarrior itself. This is not very efficient since I need to
set the appropriate flags in the preference menu each time. There
should be a way to use the "mex" function to generate mex files from
the MATLAB command window. However I have not been able to use the mex
function yet. I think the problem is related to not being able to set
the MEXOPTS file correctly. Do you have any suggestions?
Thanks for your help.
-Giovanni d'Avossa
NeuroImaging Lab, Washington University Medical School