Skip to content

Commit 8473886

Browse files
committed
Add SG dependency common path if needed. Fixes #40.
1 parent 43fc95d commit 8473886

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toolbox/bossdevice.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function doc()
9696
fprintf('[Debug] Using own full installation of Speedgoat I/O Blockset v%s.\n',speedgoat.version);
9797
elseif isfolder(obj.sgDepsPath)
9898
% Try using built-in Speedgoat dependency
99+
addpath(fullfile(toolboxPath,'dependencies','sg'));
99100
addpath(obj.sgDepsPath);
100101
assert(exist('updateSGtools.p','file'),...
101102
sprintf('Speedgoat files not found in "%s". Please reach out to <a href="matlab:open(''bossdevice_api_support.html'')">sync2brain technical support</a>.',obj.sgDepsPath));

0 commit comments

Comments
 (0)