Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

installNPMK.m 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. %
  2. % This function installs Blackrock Microsystems Neural Processing MATLAB
  3. % Kit in MATLAB. Run "help FUNCTIONAME" to get more information about each
  4. % function.
  5. %
  6. % Kian Torab
  7. % kian@blackrockmicro.com
  8. % Blackrock Microsystems
  9. % Version 1.0.0.0
  10. %
  11. function installNPMK
  12. disp('Removing the previous version of Neural Processing MATLAB Kit (NPMK)...');
  13. splitPath = regexp(path, ':', 'split');
  14. for folderIDX = 1:size(splitPath, 2)
  15. if ~isempty(findstr(splitPath{folderIDX}, 'NPMK'))
  16. rmpath(splitPath{folderIDX});
  17. end
  18. end
  19. disp('Uninstall complete.'); pause(1);
  20. disp('Installing Neural Processing MATLAB Kit (NPMK)...');
  21. currentPath = what;
  22. folderNames = dir;
  23. folderNames(1:2) = [];
  24. addpath(currentPath.path);
  25. for folderIDX = 1:size(folderNames, 1)
  26. addpath(currentPath.path);
  27. if folderNames(folderIDX).isdir && folderNames(folderIDX).name(1) ~= '@' && folderNames(folderIDX).name(1) ~= '.'
  28. addpath(fullfile(currentPath.path, folderNames(folderIDX).name));
  29. end
  30. end
  31. savepath;
  32. disp('Install is complete. Run "help FUNCTIONAME" to see how to use each function.');