Reputation: 1
I am trying out a project https://github.com/janstenum/GaitAnalysis-PoseEstimation and when I run the command correctLegID_openpose.m as said in the documentation, I get this error
Not enough input arguments.
Error in correctLegID_openpose (line 3)
file = sprintf('%s%s',output_name,'_openpose.mat');
Error in run (line 91)
evalin('caller', strcat(script, ';'));
I tried running the command normally by using
run("correctLegID_openpose.m")
Upvotes: -1
Views: 102
Reputation: 637
run()
is for scripts, not for functions that take arguments. If correctLegID_openpose.m is on your Matlab search path, you can just call it directly and supply the missing input argument:
output_name = 'filename';
correctLegID_openpose(output_name)
Upvotes: 1