diff --git a/matlab/aggregate.m b/matlab/aggregate.m index 768139292..e64b70fbf 100644 --- a/matlab/aggregate.m +++ b/matlab/aggregate.m @@ -288,6 +288,7 @@ function [v, t] = getvarandtag(str) end function blkname = getblockname(str, ROOT_FOLDER) + str = strrep(str, '/', filesep()); str = strrep(str, [ROOT_FOLDER filesep() 'blocks' filesep()], ''); idx = strfind(str, filesep()); blkname = str(1:idx(1)-1); \ No newline at end of file