Andor SDK 3 for Matlab is overiding pathdef.m and startup.m

2 views (last 30 days)
I have a really annoying problem since I installed Andor SDK 3.4; it somehow changes my default path after starting matlab
It overrides: path, pathtool, userpath
when I check pathdef.m after restart, it's the way I want to set it with my default folders, but in pathtool the SDK folders are moved to the top of the list
I also have a startup.m file, which has a cd command at the end and it even overrides this!
What could be executing a command to change this?
(This is particulaly annoying because i have matlab set up on this computer to be used with a GUI for biological experiments. I don't want to start finding gigabytes of other users experimental data in the matlab root folder because they forgot to change the path!)
  1 Comment
Matthew Milford
Matthew Milford on 16 Apr 2014
Hi Joseph
I maintain the Matlab SDK3 driver for Andor cameras. The path is currently modified by our toolbox on startup. This ensures the andor camera scripts are added to the path so the camera can be accessed.
Previously the installer changed the directory such that the camera driver (dlls) would be found by matlab. These dlls were moved into the bin folder and I removed the cd command from the andorsdk3_startup.m script.
This change was implemented for all versions after 3.5, but if you have 3.4 installed the startup script may not be correctly updated. Could you tell me the contents of your andorsdk3_startup.m? (This is located the toolbox local folder, e.g. C:\Program Files\MATLAB\R2012b\toolbox\local\andorsdk3_startup.m)
Is adding the andor scripts to the path a problem, or just changing the directory? Please let me know if you think that this could be improved.
Regards, Matt Milford Andor Technology

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown 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!