diff --git a/+bot/+internal/+util/getToolboxVersion.m b/+bot/+internal/+util/getToolboxVersion.m index 3ae296d..4406aba 100644 --- a/+bot/+internal/+util/getToolboxVersion.m +++ b/+bot/+internal/+util/getToolboxVersion.m @@ -21,8 +21,9 @@ 'MATLAB''s search path.'], strjoin(strcat({' '}, pathList), newline)) end - [~, toolboxFolderName] = fileparts( bot.internal.util.toolboxdir ); - + [~, toolboxFolderName, ext] = fileparts( bot.internal.util.toolboxdir ); + toolboxFolderName = [toolboxFolderName ext]; % this is a directory so any .xx should be included + S = ver(toolboxFolderName); if numel(S) > 1 diff --git a/README.md b/README.md index de4f216..324b3c2 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ The easiest way to install the Brain Observatory Toolbox is to use the [**Add-on 3. Press the "Add" button. ![image](https://user-images.githubusercontent.com/23032671/188341517-6c2d372a-9eac-4aed-974a-a102880212da.png) #### Required products -* MATLAB (R2021a or later) +* MATLAB (R2023b or later) * Image Processing Toolbox (if running the Visual Coding 2P demonstration `OphysDemo.mlx`) ----