how to solve error using dtw Not enough input arguments?

  1. function [Dist,D,k,w,rw,tw]=cdtw(r,t,pflag)
  2. [row,M]=size(r); if (row > M) M=row; r=r'; end;
  3. [row,N]=size(t); if (row > N) N=row; t=t'; end;
Error occurs: Error using dtw Not enough input arguments. How to solve this problem?

2 Comments

You have not shown any code that calls or defines dtw. Please copy and paste the exact error message - ALL the red lines in the command window.
Actually I already asked this in your duplicate question: http://www.mathworks.com/matlabcentral/answers/71970#comment_143205 Why did you create a new question for it instead of following up on that one?
By the way, maybe you can go over your old questions and officially "Accept" some of them.
Error using cdtw (line 19) Not enough input arguments.

Sign in to comment.

Answers (1)

Error using cdtw (line 19) Not enough input arguments.

Asked:

on 14 Apr 2013

Answered:

on 11 May 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!