Zapit-Optostim / zapit

General purpose optostimulation system
GNU Lesser General Public License v2.1
6 stars 1 forks source link

zapit must check for existing zapit sessions before starting if user asked for python mode #85

Closed raacampbell closed 1 year ago

raacampbell commented 1 year ago

Have a python setting. If user sets to true, the start_zapit function must do:

try
    matlab.engine.shareEngine('zapit')
catch
    disp('CAN NOT START.... BLAH BLAH')
    return
end

This will ensure Python can always find Zapit.

raacampbell commented 1 year ago

Done 3ed04d72958a8da1c45d211650c7782bf11aecc0