CBT_Model.m is a MATLAB script that allows reproduction and customization of the simulations reported in the following manuscript:
Smith, R., Moutoussis, M., & Bilek, E. (2021). Simulating the computational mechanisms of cognitive and behavioral psychotherapeutic interventions: Insights from active inference. Scientific Reports. DOI: https://doi.org/10.1038/s41598-021-89047-0
See comments within the script for more details