Skip to content
Snippets Groups Projects
Commit a83da037 authored by M. Hock's avatar M. Hock
Browse files

fix runtest.ps1 unfinished statement

parent 7f0a545d
Branches
Tags
2 merge requests!13PreRelease_V0.1,!12PreRelease_V0.1
......@@ -4,8 +4,6 @@ $LOGFILE="log2.txt"
$arguments = "-nodesktop", "-nosplash","-minimize","-wait", "-logfile $LOGFILE","-r","runner_test"
$Returnvalue = & 'C:\Program Files\MATLAB\R2021b\bin\matlab.exe' $arguments
$mfile =
CODE=$?
cat $Returnvalue;
......
......@@ -28,7 +28,7 @@ y1 = sin(x1)+.5*sin(2*x1)+2;
% define file path & name
fpath = fullefile(pwd,"./testdata2.h5");
fpath = fullfile(pwd,"./testdata2.h5");
dataset2 = fullfile(pwd,'testdata2.h5');
% create hdf5 file and dataset > write data to hdf5 file / dataset
......@@ -48,7 +48,7 @@ box off; hold on;
plot(x1,y1,'-k');
set(gca, 'TickDir', 'out', 'YLim', [0,4],'YTick',[0:1:4],'XLim',[0,6]);
%fstplt.setfiguresize('1/2ppt16:9');
fstplt.pimpplot;
%fstplt.pimpplot;
%% Example 1: single plot based on two data-sets
......@@ -66,4 +66,9 @@ path.script = mfilename('fullpath'); % filename of the m.script
% file names of the datasets
path.rdata = {dataset1,dataset2} ; % don't forget the extension
PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','individual')
\ No newline at end of file
PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','individual')
%% End
......@@ -18,7 +18,7 @@ end
% otherwise dialogue?
% Leave empty for using the ID from the config file
ProjectID = '';
ProjectID = 'FST03';
%% Data
......@@ -81,7 +81,7 @@ path.script = mfilename('fullpath'); % filename of the m.script
% file names of the datasets
path.rdata = {dataset1,dataset2} ; % don't forget the extension
PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','centralized')
PlotID.Publish(path, ID, fig(1), 'Location', 'local' ,'Method','individual')
%% Example 2: multiple plots plot, all based on data-set2 (hdf5)
% for individual data-sets, use an appropriate array
......@@ -102,7 +102,7 @@ path.rdata = {dataset2} ; % don't forget the extension
% publsihing via for-loop
for i=1: numel(fig)
PlotID.Publish(path, IDs{i}, fig(i), 'Location', 'local','Method','centralized');
PlotID.Publish(path, IDs{i}, fig(i), 'Location', 'server','Method','individual');
end
%% Second Plot with identical data to test centralized method
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment