Skip to content

Commit

Permalink
fixed string splitting with filesep
Browse files Browse the repository at this point in the history
  • Loading branch information
AldoCorbelliniUNIPR committed Dec 13, 2023
1 parent 987cbf9 commit 05a63a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions toolbox/utilities_help/build/createMLTBX.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@

% create realFSDAroot that points to the rela root of FSDA
% and not ot the FSDA/toolbox folder
tmp=split(FSDAroot,"/");
realFSDAroot=join(tmp(1:end-1,1), "/");

% Get filesep
fsep=filesep;

tmp=split(FSDAroot,fsep);
realFSDAroot=join(tmp(1:end-1,1), fsep);


%% Publish contents file in the root inside subfolder html
% This instruction is necessary in order to display subfolder examples in
% Mathworks web site
Expand Down

0 comments on commit 05a63a9

Please sign in to comment.