Ok i don't know if you have solved this yet, but looking at the date on the post, you might have but someone may still be looking for something similar.
The reason why this isn't working is already explained in the Matlab error statement generated when you run this.
If i understand you...