in reply to System call

Sounds as if you should be saving Matlab's output into some kind of data structure in your script - so what does the relevant code look like?