This is due to the fact that MATLAB follows different rules to calculate percentile thresholds. The number of detected events from this toolbox would be slightly less than that from Python and R.
This repository contains the complete MATLAB implementation of the methodology described in: Badpa, M., Moradzadeh, A., Norouzi, G., & Roshandel Kahoo, A. (2026). Fully Automated Magnetic Anomaly ...