Skip to content
Snippets Groups Projects
Commit 4705d07a authored by Lemmer, Jan's avatar Lemmer, Jan
Browse files

Merge branch '88-publish-fehler-beim-erzeugen-der-datei-kopie' into 'development'

Add string check for matlab filename

See merge request !34
parents d3194736 72784fbe
No related branches found
No related tags found
2 merge requests!43Implements #73, cleans up example file,,!34Add string check for matlab filename
Pipeline #592797 passed
...@@ -38,13 +38,17 @@ if ~iscell(DataPaths) ...@@ -38,13 +38,17 @@ if ~iscell(DataPaths)
DataPaths = {DataPaths}; %Cell array DataPaths = {DataPaths}; %Cell array
end end
% strings will cause problems, we therfore use chars
for i=1:numel(DataPaths) for i=1:numel(DataPaths)
if isstring(DataPaths{i}) if isstring(DataPaths{i})
% strings will cause problems
DataPaths{i} = char(DataPaths{i}); DataPaths{i} = char(DataPaths{i});
end end
end end
if isstring(scriptPath)
scriptPath = char(scriptPath);
end
%catch multiple figures in fig %catch multiple figures in fig
if numel(figure) > 1 if numel(figure) > 1
figure = figure(1); figure = figure(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment