Check to see if the Psychtoolbox mex function "
CocoaEventBridge" knows the
path to the "
GetCharWindow.bundle" bundle which it loads. If it does not, then tell
CocoaEventBridge the path: The
GetCharWindow bundle is in the same
directory as
CocoaEventBridge.
InitCocoaEventBridge may be called generously, becasue it first checks
CocoaEventBridge to see if it knows the path before setting the path.
All Psychtoolbox functions which use
CocoaEventBridge call
InitCocoaEventBridge as needed; There should be no need to call it in
your functions and scripts.
Psychtoolbox/PsychBasic/InitCocoaEventBridge.m