https://in.mathworks.com/help/econ/customblm.html
customblm - Bayesian linear regression model with custom joint prior distribution - MATLAB
The Bayesian linear regression model object customblm contains a log of the pdf of the joint prior distribution of (β,σ2).
bayesian linear regressionprior distributionmodelcustomjoint