Material: A variable containing material properties Material.E (modulus of elasticity), Material.v (poisson ratio) and Material.f_y (yield stress)
Material_State: A history variable containing material state variables at previous increment or iteration. it includes Material_State.s (stress vector) , Material_State.e (strain vector) and Material_State.k (hardening parameter)
Initial values for these history variables should be zeros
IMPORTANT: for this model, this variable should be called from the last converged state of material ((i.e. end of previous increment not from the last iteration) in order to avoid spurious unloading. See Section 6.2 in Crisfrield book 
e: Strain vector in the current iteration.
Material_State2: A history variable containing material state variables at current iteration
D_ep: Tangent constitutive matrix
 Crisfield, Michael A. Non-linear finite element analysis of solids and structures. Vol. 1. Wiley, 1993.
 Sena-Cruz, José, Joaquim AO Barros, and Álvaro FM Azevedo. Elasto-plastic multi-fixed smeared crack model for concrete. Universidade do Minho. Departamento de Engenharia Civil (DEC), 2004.o Minho. Departamento de Engenharia Civil (DEC), 2004.
Ayad Al-Rumaithi (2020). Elastic Plastic Model (https://www.mathworks.com/matlabcentral/fileexchange/70336-elastic-plastic-model), MATLAB Central File Exchange. Retrieved .
Dear Ngoc Tuyen TRAN
This Elastic Plastic Model function is used in the following finite element code:
COOL. This is very useful! Additionally, could you please show me the example for this function?