I figured out that it is only the wrong index in line 14. correct is:
nodenum_base = 387;
the last entry. scanpointsloc is working properly now. But after running Auswertung_FastScan_unv_files_KR2_HS2.m with adding
load scanloc_24.mat; %Variable: scanloc
in line 59, I get the following error message:
Error using matlab.graphics.axis.Axes/set
There is no xticklab property on the Axes class.
Error in Auswertung_FastScan_unv_files_KR2_HS2 (line 247)
set(ax(2),'xticklab',[],'xtick',[])
But the xticklabel statement works in the older version.