Jiles-Atherton model is one of the most advanced and most popular models of magnetic hysteresis loop. However, this model is considering different physical phenomena and computational issues. As a result, cross-validation of the results of modelling performed by different authors became difficult. For this reason, the open-source MAT-LAB/OCTAVE based implementation of Jiles-Atherton model was developed. Proposed implementation covers isotropic model of magnetic hysteresis loops as well as uniaxial and grain oriented electrical steel anisotropy. Moreover, the corrections proposed by Venkataraman together with different approaches to derivative of the anhysteretic magnetization are considered. Developed library is freely available together with the examples of magnetic hysteresis loops. As a result, it can be the base for further development of Jiles-Atherton model for better understanding of magnetization process as well as modelling the inductive components.