Hi, the script runs flawlessly on Matlab R2009 under Windows. On R2012a (Mac) VideoReader seems to be unable to read the video file, though.
Error using VideoReader/init (line 447)
Failed to initialize internal resources.
Error in VideoReader (line 132)
The videos display nicely using VLC, so I don't suppose this is a codec issue.
Hi Glen, thanks for getting back to me. I have actually managed to get the programme running now. It was my fault for not adding the path to both the MT directory and the affine folder within the MT directory (I am new to MATLAB!), sorry about the confusion. In the readme file the first reference does not have citation info, please can you let me know the full citation so I can see how fascicle length and pennation angle are calculated? I am hoping to use the program for a study I am planning so will of course also use this to reference your work.
Dan, you'll have to be more specific. Can you get the video file to open at all? If not, then this is probably due to an incompatibility of the video compression. Try installing DivX as described. If you are getting an error message then I'll need to know what the message is. Please ensure you are also using Matlab 2009 onwards.