Getting started

First of all, download the source code of the Matlab toolbox.

Source code is hosted at Github.

To have more details about the use of the toolbox, please have a look to :

README.txt

How to use the GUI for “pop-in” analysis from indentation tests ?

First of all a GUI is a Graphical User Interface.

  • Run the following Matlab script and answer ‘y’ or ‘yes’ to add path to the Matlab search paths :
path_management.m
  • Then, run the following Matlab script :
demo.m
  • The following window opens:
_images/GUI_Main_Window_empty.png

Screenshot of the main window of the PopIn toolbox.

  • Import your (nano)indentation results (.xls file obtained from MTS software with at least more than 20 indentation tests for statistics), by pressing the button ‘Select file’.
  • Select the end segment (if segments exist), in order to set the maximum indentation depth.
  • It is possible to plot the stiffness (raw data) without setting the GUI for Young’s modulus calculation.
  • A picture of the main window as .png file is created and Weibull data are stored in a .txt file when you press the button ‘SAVE’.
  • Results are accessible by typing in the Matlab command window (here for 50 indentation tests) :
gui = guidata(gcf)

gui =
     config: [1x1 struct]     % config. of the GUI
     handles: [1x1 struct]    % handles of the GUI = buttons, boxes...
     flag: [1x1 struct]       % flags for errors, calculations
     data: [1x50 struct]      % data cropped
     data_xls: [1x1 struct]   % details about .xls file
     settings: [1x1 struct]   % settings for calculations
     results: [50x1 struct]   % results obtained after calculations
     Weibull: [1x1 struct]    % Weibull fit results
_images/GUI_select_segment.png

File selector.

_images/GUI_Main_Window.png

Plot of the load-displacement curves after loading of data.

The YAML configuration files

Default YAML configuration files, stored in the folder yaml_config_files, are loaded automatically to set the GUI:

You have to update these YAML config. files, if you want to change indenter properties, constant parameters of models and constant parameters of the least-square method used to solve nonlinear curve-fitting and the path to your datasets.

Visit the YAML website for more informations.

Visit the YAML code for Matlab.