You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
addpath([pathstr filesep() 'shared']); % add shared folder to the path
try
failed_install_flag =savepath; % save path
catch
failed_install_flag =true;
end
iffailed_install_flag
fprintf('Installation error: could not save path.\n\n');
fprintf('You need to manually add VBMC''s installation folder to your MATLAB search path (and save it).\n');
fprintf('See the <a href="https://www.mathworks.com/help/matlab/matlab_env/add-remove-or-reorder-folders-on-the-search-path.html">MATLAB documentation</a> for more information.\n');
fprintf('Note that in Linux systems, e.g. Ubuntu, you need read/write permission to save the MATLAB path (see <a href="https://www.mathworks.com/matlabcentral/answers/95731-why-is-my-modified-path-not-saved-in-matlab">here</a>).\n');