I wonder if somebody could help.
I have a simple MATLAB 2007b script that I'd like to use with a newer version (I use 2016b now).
I did some changes myself, but I am not a programmer and the script does not work.
The messages I get are:
WARNING: This session of your experiment was run by you with the setting Screen('Preference', 'SkipSyncTests', 1).
WARNING: This means that some internal self-tests and calibrations were skipped. Your stimulus presentation timing
WARNING: may have been wrong. This is fine for development and debugging of your experiment, but for running the real
WARNING: study, please make sure to set Screen('Preference', 'SkipSyncTests', 0) for maximum accuracy and reliability.
Error using Screen
See error message printed above.
Error using audiowrite
The value of 'filename' is invalid. Expected input to be one of these types:
Instead its type was double.
EDIT: long script text removed and uploaded as a file.