I am attempting to fit an exponential distribution to a data set. I am required to do this through the use of an m-file rather than just using the distribution fitting tool in the statistics toolbox. I have succefully used the distribution fitting tool to generate a m-file which i have adapted to my needs however i cannot work out how to export the fit details so that when i run my code it spits out the relevant fit details like the mean, varience, covarience, mu and correlation coefficient.
Any pointers on how to do this would be greatly appreciated