Skip to content

Commit b25af3d

Browse files
Merge pull request #176 from MATLAB-Community-Toolboxes-at-INCF/BOT_toolboxname_fix
Bot toolboxname fix
2 parents 08785fb + ec57e7f commit b25af3d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

+bot/+internal/+util/getToolboxVersion.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
'MATLAB''s search path.'], strjoin(strcat({' '}, pathList), newline))
2222
end
2323

24-
[~, toolboxFolderName] = fileparts( bot.internal.util.toolboxdir );
25-
24+
[~, toolboxFolderName, ext] = fileparts( bot.internal.util.toolboxdir );
25+
toolboxFolderName = [toolboxFolderName ext]; % this is a directory so any .xx should be included
26+
2627
S = ver(toolboxFolderName);
2728

2829
if numel(S) > 1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The easiest way to install the Brain Observatory Toolbox is to use the [**Add-on
5656
3. Press the "Add" button. ![image](https://user-images.githubusercontent.com/23032671/188341517-6c2d372a-9eac-4aed-974a-a102880212da.png)
5757

5858
#### Required products
59-
* MATLAB (R2021a or later)
59+
* MATLAB (R2023b or later)
6060
* Image Processing Toolbox (if running the Visual Coding 2P demonstration `OphysDemo.mlx`)
6161

6262
----

0 commit comments

Comments
 (0)