de-Bivort-Lab / margo

High-throughput real-time tracker for delivery of stimuli and measurement of animal behavior.
MIT License
24 stars 8 forks source link

Errors trying to open MARGO #44

Open SM6717 opened 2 years ago

SM6717 commented 2 years ago

Hi there, I'm using Matlab 2016b with the bug updates to try and open MARGO, but keep getting some errors. Would hugely appreciate any help on this topic- I got it going once before but it won't seem to work anymore :( I've attached the error code here:

ls

. .gitignore README.md data classes experiments hardware tracking
.. LICENSE.md analysis and plots examples gui profiles utilities

addpath(genpath(pwd)); margo Error using serial/fwrite (line 199) Unsuccessful write: A timeout or Ctrl-C occurred during the write operation.

Error in writeInfraredWhitePanel (line 25) fwrite(COM_obj,writeData,'uchar');

Error in refreshCOM (line 54) writeInfraredWhitePanel(expmt.hardware.COM.light,1,...

Error in margo>margo_OpeningFcn (line 118) [expmt, handles] = refreshCOM(expmt, handles);

Error in gui_mainfcn (line 220) feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});

Error in margo (line 48) gui_mainfcn(gui_State, varargin{:});

werkhoven commented 1 year ago

Issue should be fixed with on the most recent versions of the master branch after: https://github.com/de-Bivort-Lab/margo/tree/feature/zwerkho-001-update-deprecated-functions