What is the error that comes while running the timer function," The name 'BioPotentialSignals' is not an accessible property for an instance of class 'timer objects'. Error while evaluating TimerFcn for timer 'timer-4' " ?

5 views (last 30 days)
I am using BioRadio device to collect EEG signals and have used it's SDK to collect the data in MATLAB. I have made a visual stimulus. I am trying to use BioRadio device to stream EEG data while running the visual stimulus.
I converted the script (provided by the manufacturer as an example) to a function file and placed it within my visual stimulus file (Main script file). I want to continuously let BioRadio stream the EEG data during the visual stimulus presentation. Therefore i have used a timer function in order to make it run continuous. But I keep on getting this error when i run the program -
" The name 'BioPotentialSignals' is not an accessible property for an instance of class 'timer objects'. Error while evaluating TimerFcn for timer 'timer-4' ".
Would anyone please help me know the solution? Is there any other alternative ? I have attached two files.
BioRadio_Stream.m is a file for streaming the EEG data.
Timer_Function.txt is a file to show how i called the callback function.

Answers (0)

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!