### Calling R from Matlab – flat file communication

In the last post I showed how to fit a Bayesian hierarchical model in R to estimate experimental parameters. Our main data analysis pipeline uses Matlab, and we’d like to integrate these two environments for the purpose of analysis. The example involved JAGS, which does have a direct Matlab interface in addition to the more common R one, but more … More Calling R from Matlab – flat file communication