diff --git a/1_preprocessing/gtApplyDrifts.m b/1_preprocessing/gtApplyDrifts.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtApplyDrifts_raw.m b/1_preprocessing/gtApplyDrifts_raw.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtApplyDrifts_xxx.m b/1_preprocessing/gtApplyDrifts_xxx.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtBondMethod.m b/1_preprocessing/gtBondMethod.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtCopyCorrectUndistortCondor.m b/1_preprocessing/gtCopyCorrectUndistortCondor.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtCopyCorrectUndistortFulls.m b/1_preprocessing/gtCopyCorrectUndistortFulls.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtDriftsEndOfScan.m b/1_preprocessing/gtDriftsEndOfScan.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtEvaluateCalibrationQuali.m b/1_preprocessing/gtEvaluateCalibrationQuali.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtEvaluateCalibrationScan.m b/1_preprocessing/gtEvaluateCalibrationScan.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtEvaluateCalibrationScan_xxx.m b/1_preprocessing/gtEvaluateCalibrationScan_xxx.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtFindDirectBeamBB.m b/1_preprocessing/gtFindDirectBeamBB.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtFindDirectBeamBBQuali.m b/1_preprocessing/gtFindDirectBeamBBQuali.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtFindRotationAxis.m b/1_preprocessing/gtFindRotationAxis.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtFindSampleEdges.m b/1_preprocessing/gtFindSampleEdges.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtFlipExtImages.m b/1_preprocessing/gtFlipExtImages.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtFlipFullImages.m b/1_preprocessing/gtFlipFullImages.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtFullStatAssembleOutputFiles.m b/1_preprocessing/gtFullStatAssembleOutputFiles.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtMakeMontage.m b/1_preprocessing/gtMakeMontage.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtOneBigMedian.m b/1_preprocessing/gtOneBigMedian.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtPreprocessing.m b/1_preprocessing/gtPreprocessing.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtPreprocessing_live.m b/1_preprocessing/gtPreprocessing_live.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtPreprocessing_live_taper.m b/1_preprocessing/gtPreprocessing_live_taper.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtRenumberInterlaced.m b/1_preprocessing/gtRenumberInterlaced.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtRenumberInterlacedRiso.m b/1_preprocessing/gtRenumberInterlacedRiso.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtSetupCalibration.m b/1_preprocessing/gtSetupCalibration.m old mode 100755 new mode 100644 diff --git a/1_preprocessing/gtSetupCalibrationQuali.m b/1_preprocessing/gtSetupCalibrationQuali.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/Difspot_lastandprevious.m b/5_reconstruction/Difspot_lastandprevious.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/Difspot_lastandprevious2.m b/5_reconstruction/Difspot_lastandprevious2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/ExtSpot_lastandprevious.m b/5_reconstruction/ExtSpot_lastandprevious.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/ExtSpot_lastandprevious2.m b/5_reconstruction/ExtSpot_lastandprevious2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/ExtSpot_lastandprevious3.m b/5_reconstruction/ExtSpot_lastandprevious3.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/GJgtART3D.m b/5_reconstruction/GJgtART3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/GJgtDoART3D.m b/5_reconstruction/GJgtDoART3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/apply_z_shift.m b/5_reconstruction/apply_z_shift.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/correlate_crack.m b/5_reconstruction/correlate_crack.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtART3D.m b/5_reconstruction/gtART3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtART3D_GJ.m b/5_reconstruction/gtART3D_GJ.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtAaxisCmap.m b/5_reconstruction/gtAaxisCmap.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtAaxisCmap_sab.m b/5_reconstruction/gtAaxisCmap_sab.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtAbsorptionSlice.m b/5_reconstruction/gtAbsorptionSlice.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtAnalyseBoundaryIndexPlane.m b/5_reconstruction/gtAnalyseBoundaryIndexPlane.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtAnalyseBoundaryWrapper.m b/5_reconstruction/gtAnalyseBoundaryWrapper.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtBackproGrain.m b/5_reconstruction/gtBackproGrain.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtBoundaryPoles.m b/5_reconstruction/gtBoundaryPoles.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtCaxisCmap.m b/5_reconstruction/gtCaxisCmap.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtCaxisCmap_key.m b/5_reconstruction/gtCaxisCmap_key.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtCaxisCmap_sab.m b/5_reconstruction/gtCaxisCmap_sab.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtChangeARTbb.m b/5_reconstruction/gtChangeARTbb.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtColourCrack.m b/5_reconstruction/gtColourCrack.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtColourCrack2.m b/5_reconstruction/gtColourCrack2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtCorrelate_lastandprevious.m b/5_reconstruction/gtCorrelate_lastandprevious.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtDoART.m b/5_reconstruction/gtDoART.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtDoART3D.m b/5_reconstruction/gtDoART3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtDoART3D2.m b/5_reconstruction/gtDoART3D2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtDoART_jun07test.m b/5_reconstruction/gtDoART_jun07test.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtFillGrain.m b/5_reconstruction/gtFillGrain.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtFillGrain2D.m b/5_reconstruction/gtFillGrain2D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtFillGrain_wrapper.m b/5_reconstruction/gtFillGrain_wrapper.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtFindSimilarGrains.m b/5_reconstruction/gtFindSimilarGrains.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtFindSimilarSpots.m b/5_reconstruction/gtFindSimilarSpots.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtGT2ARTangles.m b/5_reconstruction/gtGT2ARTangles.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtMakeARTJob.m b/5_reconstruction/gtMakeARTJob.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtMakeARTJob3D.m b/5_reconstruction/gtMakeARTJob3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtMakeCondorJob.m b/5_reconstruction/gtMakeCondorJob.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtMakeHSTParfile.m b/5_reconstruction/gtMakeHSTParfile.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtMakePoleFigure.m b/5_reconstruction/gtMakePoleFigure.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtMakePoleFigure2.m b/5_reconstruction/gtMakePoleFigure2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtMakePoleFigure_hex.m b/5_reconstruction/gtMakePoleFigure_hex.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtMergeSpot.m b/5_reconstruction/gtMergeSpot.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtRandCmap.m b/5_reconstruction/gtRandCmap.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtReadBoundariesStructure.m b/5_reconstruction/gtReadBoundariesStructure.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtReadBoundaryProperties.m b/5_reconstruction/gtReadBoundaryProperties.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtReconstructionManager.m b/5_reconstruction/gtReconstructionManager.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtReconstructionManager3D.m b/5_reconstruction/gtReconstructionManager3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtReconstructionManager_360.m b/5_reconstruction/gtReconstructionManager_360.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtReconstructionManager_360_wl.m b/5_reconstruction/gtReconstructionManager_360_wl.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtReconstructionManager_360special.m b/5_reconstruction/gtReconstructionManager_360special.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtThinCrack.m b/5_reconstruction/gtThinCrack.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtThresholdGrain.m b/5_reconstruction/gtThresholdGrain.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtWriteDifStack.m b/5_reconstruction/gtWriteDifStack.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtWriteDifStackold.m b/5_reconstruction/gtWriteDifStackold.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtWriteStack.m b/5_reconstruction/gtWriteStack.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtWriteStack_360.m b/5_reconstruction/gtWriteStack_360.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtWriteStack_360_wl.m b/5_reconstruction/gtWriteStack_360_wl.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtWriteStack_replaced.m b/5_reconstruction/gtWriteStack_replaced.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gt_dilate_grains.m b/5_reconstruction/gt_dilate_grains.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gt_find_grain_boundaries.m b/5_reconstruction/gt_find_grain_boundaries.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gt_select_projections_auto.m b/5_reconstruction/gt_select_projections_auto.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtassemble_lastandprevious.m b/5_reconstruction/gtassemble_lastandprevious.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_slice.m b/5_reconstruction/gtnew_assemble_slice.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_slice_special.m b/5_reconstruction/gtnew_assemble_slice_special.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_slice_wl.m b/5_reconstruction/gtnew_assemble_slice_wl.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_vol.m b/5_reconstruction/gtnew_assemble_vol.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_vol2.m b/5_reconstruction/gtnew_assemble_vol2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_vol3.m b/5_reconstruction/gtnew_assemble_vol3.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_vol3D.m b/5_reconstruction/gtnew_assemble_vol3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_vol_sab2.m b/5_reconstruction/gtnew_assemble_vol_sab2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_assemble_vol_sab3.m b/5_reconstruction/gtnew_assemble_vol_sab3.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_choose_art_params_wolf.m b/5_reconstruction/gtnew_choose_art_params_wolf.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_replace_projectionsgui_grain.m b/5_reconstruction/gtnew_replace_projectionsgui_grain.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtnew_select_projectionsgui_grain.m b/5_reconstruction/gtnew_select_projectionsgui_grain.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtratiovolumes_lastandprevious.m b/5_reconstruction/gtratiovolumes_lastandprevious.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/gtsee_lastandprevious.m b/5_reconstruction/gtsee_lastandprevious.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/old/gtWriteStack_old.m b/5_reconstruction/old/gtWriteStack_old.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/sdt_read.m b/5_reconstruction/sdt_read.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/sdt_write.m b/5_reconstruction/sdt_write.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/sdtwrite.m b/5_reconstruction/sdtwrite.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/testART.m b/5_reconstruction/testART.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/testART2.m b/5_reconstruction/testART2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/testARTbackup.m b/5_reconstruction/testARTbackup.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/testARTp.m b/5_reconstruction/testARTp.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/threshold_grain.m b/5_reconstruction/threshold_grain.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/threshold_grain_auto.m b/5_reconstruction/threshold_grain_auto.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/tmpART3D.m b/5_reconstruction/tmpART3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/tmpDoART3D.m b/5_reconstruction/tmpDoART3D.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/try.m b/5_reconstruction/try.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/tryART.m b/5_reconstruction/tryART.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/tryART2.m b/5_reconstruction/tryART2.m old mode 100755 new mode 100644 diff --git a/5_reconstruction/tryARTflip.m b/5_reconstruction/tryARTflip.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtAnalyseBoundaryIndexPlaneMesh.m b/6_rendering/gtAnalyseBoundaryIndexPlaneMesh.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtAnalyseCrackPlane.m b/6_rendering/gtAnalyseCrackPlane.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtAnalyseGrainBoundarySurface.m b/6_rendering/gtAnalyseGrainBoundarySurface.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtAnalyseGrainBoundarySurface2.m b/6_rendering/gtAnalyseGrainBoundarySurface2.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtDCT2EBSD.m b/6_rendering/gtDCT2EBSD.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtGrainBoundarySurfaceMesh.m b/6_rendering/gtGrainBoundarySurfaceMesh.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtGrains2STL.m b/6_rendering/gtGrains2STL.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtMakeSigmaCmap.m b/6_rendering/gtMakeSigmaCmap.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtPlotHexagon.m b/6_rendering/gtPlotHexagon.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtPlotOrientationCube.m b/6_rendering/gtPlotOrientationCube.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtRenderGrains.m b/6_rendering/gtRenderGrains.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtSSTCmap.m b/6_rendering/gtSSTCmap.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtShowSampleSurface.m b/6_rendering/gtShowSampleSurface.m old mode 100755 new mode 100644 diff --git a/6_rendering/gtThinCrack2.m b/6_rendering/gtThinCrack2.m old mode 100755 new mode 100644 diff --git a/6_rendering/objwrite.m b/6_rendering/objwrite.m old mode 100755 new mode 100644 diff --git a/6_rendering/plyread.m b/6_rendering/plyread.m old mode 100755 new mode 100644 diff --git a/6_rendering/plywrite.m b/6_rendering/plywrite.m old mode 100755 new mode 100644 diff --git a/6_rendering/plywrite_broken.m b/6_rendering/plywrite_broken.m old mode 100755 new mode 100644 diff --git a/6_rendering/stlread.m b/6_rendering/stlread.m old mode 100755 new mode 100644 diff --git a/6_rendering/stlwrite.m b/6_rendering/stlwrite.m old mode 100755 new mode 100644 diff --git a/6_rendering/stlwrite2.m b/6_rendering/stlwrite2.m old mode 100755 new mode 100644 diff --git a/6_rendering/wrl_write_w_color_vertex.m b/6_rendering/wrl_write_w_color_vertex.m old mode 100755 new mode 100644 diff --git a/FigureManagement/Contents.m b/FigureManagement/Contents.m old mode 100755 new mode 100644 diff --git a/FigureManagement/dockfig.m b/FigureManagement/dockfig.m old mode 100755 new mode 100644 diff --git a/FigureManagement/getfigdim.m b/FigureManagement/getfigdim.m old mode 100755 new mode 100644 diff --git a/FigureManagement/getmondim.m b/FigureManagement/getmondim.m old mode 100755 new mode 100644 diff --git a/FigureManagement/maxfig.m b/FigureManagement/maxfig.m old mode 100755 new mode 100644 diff --git a/FigureManagement/newdfig.m b/FigureManagement/newdfig.m old mode 100755 new mode 100644 diff --git a/FigureManagement/newfig.m b/FigureManagement/newfig.m old mode 100755 new mode 100644 diff --git a/FigureManagement/screenxyabs.m b/FigureManagement/screenxyabs.m old mode 100755 new mode 100644 diff --git a/FigureManagement/screenxymon.m b/FigureManagement/screenxymon.m old mode 100755 new mode 100644 diff --git a/FigureManagement/tilefig.m b/FigureManagement/tilefig.m old mode 100755 new mode 100644 diff --git a/FigureManagement/vf.m b/FigureManagement/vf.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/drawproj.m b/zUtil_ART/drawproj.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/gtBackProject3D.m b/zUtil_ART/gtBackProject3D.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/gtFlipProjections.m b/zUtil_ART/gtFlipProjections.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/gtGetARTCommand.m b/zUtil_ART/gtGetARTCommand.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/gtMakeLinks.m b/zUtil_ART/gtMakeLinks.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/gtMakeLinksflip.m b/zUtil_ART/gtMakeLinksflip.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/gtShowProjections.m b/zUtil_ART/gtShowProjections.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/gtSimulateProjections.m b/zUtil_ART/gtSimulateProjections.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/spr_write.m b/zUtil_ART/spr_write.m old mode 100755 new mode 100644 diff --git a/zUtil_ART/testobject.m b/zUtil_ART/testobject.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/compile_mym.m b/zUtil_DB/compile_mym.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/dbInsert.m b/zUtil_DB/dbInsert.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/dbInsertMultiple.m b/zUtil_DB/dbInsertMultiple.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/dbUpdate.m b/zUtil_DB/dbUpdate.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/flex_charter.m b/zUtil_DB/flex_charter.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/flex_watcher.m b/zUtil_DB/flex_watcher.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBConnect.m b/zUtil_DB/gtDBConnect.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBCreateCalibrationTable_v3.m b/zUtil_DB/gtDBCreateCalibrationTable_v3.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBCreateDifblobTable.m b/zUtil_DB/gtDBCreateDifblobTable.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBCreateDifspotTable.m b/zUtil_DB/gtDBCreateDifspotTable.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBCreateExtspotTable.m b/zUtil_DB/gtDBCreateExtspotTable.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBCreateSpotPairTable.m b/zUtil_DB/gtDBCreateSpotPairTable.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBGetBigBlobs.m b/zUtil_DB/gtDBGetBigBlobs.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBProgressMonitor.m b/zUtil_DB/gtDBProgressMonitor.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/gtDBProgressUpdate.m b/zUtil_DB/gtDBProgressUpdate.m old mode 100755 new mode 100644 diff --git a/zUtil_DB/mym2.m b/zUtil_DB/mym2.m old mode 100755 new mode 100644 diff --git a/zUtil_Distortion/distortion_correct.m b/zUtil_Distortion/distortion_correct.m old mode 100755 new mode 100644 diff --git a/zUtil_Distortion/distortion_example.m b/zUtil_Distortion/distortion_example.m old mode 100755 new mode 100644 diff --git a/zUtil_Distortion/distortion_read.m b/zUtil_Distortion/distortion_read.m old mode 100755 new mode 100644 diff --git a/zUtil_Drawing/circlepoints.m b/zUtil_Drawing/circlepoints.m old mode 100755 new mode 100644 diff --git a/zUtil_Drawing/ellipsepoints.m b/zUtil_Drawing/ellipsepoints.m old mode 100755 new mode 100644 diff --git a/zUtil_Drawing/fig2jpg.m b/zUtil_Drawing/fig2jpg.m old mode 100755 new mode 100644 diff --git a/zUtil_EDF/edf_crop.m b/zUtil_EDF/edf_crop.m old mode 100755 new mode 100644 diff --git a/zUtil_EDF/edf_downsample.m b/zUtil_EDF/edf_downsample.m old mode 100755 new mode 100644 diff --git a/zUtil_EDF/edf_info.m b/zUtil_EDF/edf_info.m old mode 100755 new mode 100644 diff --git a/zUtil_EDF/edf_is.m b/zUtil_EDF/edf_is.m old mode 100755 new mode 100644 diff --git a/zUtil_EDF/edf_read.m b/zUtil_EDF/edf_read.m old mode 100755 new mode 100644 diff --git a/zUtil_EDF/edf_read_clean.m b/zUtil_EDF/edf_read_clean.m old mode 100755 new mode 100644 diff --git a/zUtil_EDF/edf_setup_imformats.m b/zUtil_EDF/edf_setup_imformats.m old mode 100755 new mode 100644 diff --git a/zUtil_EDF/edf_write.m b/zUtil_EDF/edf_write.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/AREMIS_view.m b/zUtil_ForwardProjection/AREMIS_view.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/fp.m b/zUtil_ForwardProjection/fp.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/fp_prepare.m b/zUtil_ForwardProjection/fp_prepare.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/gtForwardProject.m b/zUtil_ForwardProjection/gtForwardProject.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/gtForwardProject2.m b/zUtil_ForwardProjection/gtForwardProject2.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/gtGenFP.m b/zUtil_ForwardProjection/gtGenFP.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/gtTrLabToSamBB.m b/zUtil_ForwardProjection/gtTrLabToSamBB.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/gtTrSamBBToLab.m b/zUtil_ForwardProjection/gtTrSamBBToLab.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/jacobs_ray3d.m b/zUtil_ForwardProjection/jacobs_ray3d.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/try1.m b/zUtil_ForwardProjection/try1.m old mode 100755 new mode 100644 diff --git a/zUtil_ForwardProjection/work.m b/zUtil_ForwardProjection/work.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/BoundMirrorEnsure.m b/zUtil_GVF/BoundMirrorEnsure.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/BoundMirrorExpand.m b/zUtil_GVF/BoundMirrorExpand.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/BoundMirrorShrink.m b/zUtil_GVF/BoundMirrorShrink.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/Contents.m b/zUtil_GVF/Contents.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/GVF.m b/zUtil_GVF/GVF.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/dt.m b/zUtil_GVF/dt.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/gaussianBlur.m b/zUtil_GVF/gaussianBlur.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/gaussianMask.m b/zUtil_GVF/gaussianMask.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/gtSnakeBW.m b/zUtil_GVF/gtSnakeBW.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/gvf_gj.m b/zUtil_GVF/gvf_gj.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/imdisp.m b/zUtil_GVF/imdisp.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/rawread.m b/zUtil_GVF/rawread.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/rawwrite.m b/zUtil_GVF/rawwrite.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/snakedeform.m b/zUtil_GVF/snakedeform.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/snakedeform2.m b/zUtil_GVF/snakedeform2.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/snakedisp.m b/zUtil_GVF/snakedisp.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/snakeindex.m b/zUtil_GVF/snakeindex.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/snakeinit.m b/zUtil_GVF/snakeinit.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/snakeinterp.m b/zUtil_GVF/snakeinterp.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/snakeinterp1.m b/zUtil_GVF/snakeinterp1.m old mode 100755 new mode 100644 diff --git a/zUtil_GVF/xconv2.m b/zUtil_GVF/xconv2.m old mode 100755 new mode 100644 diff --git a/zUtil_Help/makehtmldoc.m b/zUtil_Help/makehtmldoc.m old mode 100755 new mode 100644 diff --git a/zUtil_Help/publish_gt.m b/zUtil_Help/publish_gt.m old mode 100755 new mode 100644 diff --git a/zUtil_ICP/closestPoint.m b/zUtil_ICP/closestPoint.m old mode 100755 new mode 100644 diff --git a/zUtil_ICP/iterativeClosestPoint.m b/zUtil_ICP/iterativeClosestPoint.m old mode 100755 new mode 100644 diff --git a/zUtil_ICP/testICP.m b/zUtil_ICP/testICP.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtAdjustThreshold.m b/zUtil_Imaging/gtAdjustThreshold.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtAlphaAdjust.m b/zUtil_Imaging/gtAlphaAdjust.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtBboxSizeMat.m b/zUtil_Imaging/gtBboxSizeMat.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtCrop.m b/zUtil_Imaging/gtCrop.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtCropContour.m b/zUtil_Imaging/gtCropContour.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtExtract.m b/zUtil_Imaging/gtExtract.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtMask2Poly.m b/zUtil_Imaging/gtMask2Poly.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtPlaceSubImage.m b/zUtil_Imaging/gtPlaceSubImage.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtPlaceSubVolume.m b/zUtil_Imaging/gtPlaceSubVolume.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtShift.m b/zUtil_Imaging/gtShift.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtShiftContour.m b/zUtil_Imaging/gtShiftContour.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtShift_subp.m b/zUtil_Imaging/gtShift_subp.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/gtShift_xxx.m b/zUtil_Imaging/gtShift_xxx.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/hsl2rgb.m b/zUtil_Imaging/hsl2rgb.m old mode 100755 new mode 100644 diff --git a/zUtil_Imaging/rgb2hsl.m b/zUtil_Imaging/rgb2hsl.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtDrawGrainCubes2.m b/zUtil_Index/gtDrawGrainCubes2.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtINDEXTER.m b/zUtil_Index/gtINDEXTER.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexAddToGrains.m b/zUtil_Index/gtIndexAddToGrains.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexAllGrainStat.m b/zUtil_Index/gtIndexAllGrainStat.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexBuildGrains.m b/zUtil_Index/gtIndexBuildGrains.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexCheckAllPairCons.m b/zUtil_Index/gtIndexCheckAllPairCons.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexCheckGroupCons.m b/zUtil_Index/gtIndexCheckGroupCons.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexCheckPairCons.m b/zUtil_Index/gtIndexCheckPairCons.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexCreateGrainOutputAdd.m b/zUtil_Index/gtIndexCreateGrainOutputAdd.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexCreateGrainOutputBuild.m b/zUtil_Index/gtIndexCreateGrainOutputBuild.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexCreateGrainOutputFinal.m b/zUtil_Index/gtIndexCreateGrainOutputFinal.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexCreateGrainOutputMerge.m b/zUtil_Index/gtIndexCreateGrainOutputMerge.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexCreateOutput.m b/zUtil_Index/gtIndexCreateOutput.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexDefaultStrategy.m b/zUtil_Index/gtIndexDefaultStrategy.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexExecuteStrategy.m b/zUtil_Index/gtIndexExecuteStrategy.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexFindGroupInCand.m b/zUtil_Index/gtIndexFindGroupInCand.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexMatchGrains.m b/zUtil_Index/gtIndexMatchGrains.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexMatchGrains_sab.m b/zUtil_Index/gtIndexMatchGrains_sab.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexMergeGrains.m b/zUtil_Index/gtIndexMergeGrains.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexSelectLines.m b/zUtil_Index/gtIndexSelectLines.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexStrategyExample.m b/zUtil_Index/gtIndexStrategyExample.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexTryAddLineToGroup.m b/zUtil_Index/gtIndexTryAddLineToGroup.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/gtIndexUniquePlaneNormals.m b/zUtil_Index/gtIndexUniquePlaneNormals.m old mode 100755 new mode 100644 diff --git a/zUtil_Index/helpers.m b/zUtil_Index/helpers.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/deg2rad.m b/zUtil_Maths/deg2rad.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/fit_ellipse.m b/zUtil_Maths/fit_ellipse.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/gtIsPointInPolyhedron.m b/zUtil_Maths/gtIsPointInPolyhedron.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/gtLinePlaneIntersection.m b/zUtil_Maths/gtLinePlaneIntersection.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/gtLinePolyhedronIntersection.m b/zUtil_Maths/gtLinePolyhedronIntersection.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/gtOutliers.m b/zUtil_Maths/gtOutliers.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/gtRange.m b/zUtil_Maths/gtRange.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/lsplane.m b/zUtil_Maths/lsplane.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/m2m.m b/zUtil_Maths/m2m.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/ordfilt3D.m b/zUtil_Maths/ordfilt3D.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/rad2deg.m b/zUtil_Maths/rad2deg.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/t2x.m b/zUtil_Maths/t2x.m old mode 100755 new mode 100644 diff --git a/zUtil_Maths/x2t.m b/zUtil_Maths/x2t.m old mode 100755 new mode 100644 diff --git a/zUtil_Parameters/gtAddMatFile.m b/zUtil_Parameters/gtAddMatFile.m index 1ce8813f8b1b186c9c1233455adda88f826f039a..b2ae488a6ecd40118ce618aef196f6c52bade618 100644 --- a/zUtil_Parameters/gtAddMatFile.m +++ b/zUtil_Parameters/gtAddMatFile.m @@ -1,7 +1,16 @@ -function updateFile = gtAddMatFile(existingFile,var,update,missing,addall) -% GTADDMATFILE Merges, adds or updates fields between mat files -% updateFile = gtAddMatFile(existingFile,var,update,missing,addall) +function updateFile = gtAddMatFile(existingFile,newFile,update,missing,addall) +% GTADDMATFILE Merges, adds or updates fields between .mat files +% updateFile = gtAddMatFile(existingFile,newFile,update,missing,addall) % ------------------------------------------------------------- +% INPUT: +% existingFile = the existing structure to be updated/modified +% newfile = the new structure to be added to the existing one +% update = flag to update each of the existing fields in 'existingFile' by double-checking {false} +% missing = flag to add missing fields in 'existingFile' from 'newFile' {false} +% addall = flag to add all the fields of 'newFile' to 'existingFile' without a double-check {false} +% +% OUTPUT: +% updateFile = the resulting structure % % % FUNCTIONS CALLED: @@ -10,45 +19,43 @@ function updateFile = gtAddMatFile(existingFile,var,update,missing,addall) if ~exist('update','var') || isempty(update) update=false; end - if ~exist('missing','var') || isempty(missing) missing=false; end - if ~exist('addall','var') || isempty(addall) addall=false; end -names=fieldnames(var); %parameters structure -existnames=fieldnames(existingFile); %update parameters structure +names = fieldnames(newFile); %parameters structure +existnames = fieldnames(existingFile); %update parameters structure for i=1:length(names) - if ~isfield(existingFile,names{i}) && ~isfield(existingFile,lower(names{i})) % is not field + if ~isfield(existingFile,names{i}) && ~isfield(existingFile,lower(names{i})) % is not a field if missing && ~addall variable=names{i} check=inputwdefault('Do you want to add this field?','n') if strcmpi(check,'y') disp(['added field: ' names{i}]) - existingFile.(names{i})=var.(names{i}); + existingFile.(names{i})=newFile.(names{i}); end elseif missing || addall disp(['added field: ' names{i}]) - existingFile.(names{i})=var.(names{i}); + existingFile.(names{i})=newFile.(names{i}); end end - if isfield(existingFile,lower(names{i})) && ~isfield(existingFile,names{i}) %is a field lowercase + if isfield(existingFile,lower(names{i})) && ~isfield(existingFile,names{i}) %is a field but lowercase variable=lower(names{i}) if ~update oldvalue=existingFile.(variable) - newvalue=var.(names{i}) + newvalue=newFile.(names{i}) check=inputwdefault('Are you sure to replace it with the new value?','n') else names{i} check=inputwdefault('Are those the same thing?','n') if strcmpi(check,'y') disp(['updated field: ' variable ' with field: ' names{i}]) - existingFile.(variable)=var.(names{i}); + existingFile.(variable)=newFile.(names{i}); end end end @@ -56,17 +63,17 @@ for i=1:length(names) if ~update variable=names{i} oldvalue=existingFile.(names{i}) - newvalue=var.(names{i}) + newvalue=newFile.(names{i}) check=inputwdefault('Do you want to replace it with the new value?','n') if strcmpi(check,'y') disp(['replaced field: ' names{i}]) - existingFile.(names{i})=var.(names{i}); + existingFile.(names{i})=newFile.(names{i}); end else disp(['updated field: ' names{i}]) - existingFile.(names{i})=var.(names{i}); + existingFile.(names{i})=newFile.(names{i}); end end end diff --git a/zUtil_Strain/TestRodriguesOp.m b/zUtil_Strain/TestRodriguesOp.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/grainorientations.m b/zUtil_Strain/grainorientations.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtAddGrainLatticePar.m b/zUtil_Strain/gtAddGrainLatticePar.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtAddGrainLatticePar_sab.m b/zUtil_Strain/gtAddGrainLatticePar_sab.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtAllGrainValues.m b/zUtil_Strain/gtAllGrainValues.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtDrawGrainCubes.m b/zUtil_Strain/gtDrawGrainCubes.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtEstimateErrors.m b/zUtil_Strain/gtEstimateErrors.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtGeoSim.m b/zUtil_Strain/gtGeoSim.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtINUniquePlaneNormals.m b/zUtil_Strain/gtINUniquePlaneNormals.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtINUniquePlaneNormals_sab.m b/zUtil_Strain/gtINUniquePlaneNormals_sab.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtKeepLine.m b/zUtil_Strain/gtKeepLine.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtMatrix2Vector.m b/zUtil_Strain/gtMatrix2Vector.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtPlotSampleEnv.m b/zUtil_Strain/gtPlotSampleEnv.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtPlotUniErrors.m b/zUtil_Strain/gtPlotUniErrors.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtPlotUniPlanes.m b/zUtil_Strain/gtPlotUniPlanes.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtSTRDeleteStrainInGrains.m b/zUtil_Strain/gtSTRDeleteStrainInGrains.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainDoAll.m b/zUtil_Strain/gtStrainDoAll.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainDrawPrincipalStrainVectors.m b/zUtil_Strain/gtStrainDrawPrincipalStrainVectors.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainErrors.m b/zUtil_Strain/gtStrainErrors.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainFitElasticConstants.m b/zUtil_Strain/gtStrainFitElasticConstants.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainFitElasticConstants_test.m b/zUtil_Strain/gtStrainFitElasticConstants_test.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainGrains.m b/zUtil_Strain/gtStrainGrains.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainNormalProductSTD.m b/zUtil_Strain/gtStrainNormalProductSTD.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainPlanes.m b/zUtil_Strain/gtStrainPlanes.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainPlotResults.m b/zUtil_Strain/gtStrainPlotResults.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainSpotSpread.m b/zUtil_Strain/gtStrainSpotSpread.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainSpotSpreadDiff.m b/zUtil_Strain/gtStrainSpotSpreadDiff.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainSpotSpreadDiff_B.m b/zUtil_Strain/gtStrainSpotSpreadDiff_B.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainTensor.m b/zUtil_Strain/gtStrainTensor.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainTensorFit.m b/zUtil_Strain/gtStrainTensorFit.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtStrainTensorFitDev.m b/zUtil_Strain/gtStrainTensorFitDev.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/gtVector2Matrix.m b/zUtil_Strain/gtVector2Matrix.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/myRod2g.m b/zUtil_Strain/myRod2g.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/untitled.m b/zUtil_Strain/untitled.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/xxx2_gtDrawGrainCubes.m b/zUtil_Strain/xxx2_gtDrawGrainCubes.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/xxx2_gtStrainGrains.m b/zUtil_Strain/xxx2_gtStrainGrains.m old mode 100755 new mode 100644 diff --git a/zUtil_Strain/xxx3_gtDrawGrainCubes.m b/zUtil_Strain/xxx3_gtDrawGrainCubes.m old mode 100755 new mode 100644