[mocaptoolbox] Reshape error for mcread

  • From: Alexander Refsum Jensenius <a.r.jensenius@xxxxxxxxxx>
  • To: "<mocaptoolbox@xxxxxxxxxxxxx>" <mocaptoolbox@xxxxxxxxxxxxx>
  • Date: Tue, 10 Jan 2012 09:58:46 +0100

Hi,

For a file with some gaps in the trajectories (<http://folk.uio.no/alexanje/div/mocap/walking.tsv>), I get this error message when trying to import using mcread:

??? Error using ==> reshape
To RESHAPE the number of elements must not change.

Error in ==> mcreadtsv at 67
        d.data = reshape(tmp', 3*d.nMarkers+2, d.nFrames)';

Error in ==> mcread at 47
        d = mcreadtsv(fn);

Everything else in this file should be similar to a bunch of other files that are imported nicely (all TSV-files exported from QTM).

I thought that mccread should be able to read files with gaps in the trajectories? Or do I need to do gap filling in QTM before exporting?

Thanks for any help in clarifying this.

Best,
Alexander

Other related posts: