how to use helperGaitPlot?

8 views (last 30 days)
Matlaber
Matlaber on 22 Jan 2019
Commented: Star Strider on 5 Feb 2019
How to use helperGaitPlot
helperGaitPlot('als1m');
xlim([0 30])
when i run, it said:
>> helperGaitPlot('als1m');
xlim([0 30])
Undefined function or variable 'helperGaitPlot'.
In this link Link
I checked, is not about Matlab version
  9 Comments
Matlaber
Matlaber on 28 Jan 2019
Is the same
C:\Users>List = dir(fullfile(matlabroot, '**', 'helperGaitPlot.*')) List Folder
'List' is not recognized as an internal or external command,
operable program or batch file.
C:\Users>List.folder
'List.folder' is not recognized as an internal or external command,
operable program or batch file.
C:\Users>List = dir(fullfile(matlabroot, '**', 'helperGaitPlot.*'))
'List' is not recognized as an internal or external command,
operable program or batch file.
Jan
Jan on 28 Jan 2019
You have to run the shown commands inside Matlab, of course, not in the shell of your operating system. Start Matlab and run the commands in Matlab's command window.

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 28 Jan 2019
Try this:
query = which('HelperGaitPlot.m')
When I run it, I get:
query =
'C:\Users\<MyUserNameOnThisComputer>\Documents\MATLAB\Examples\signal\GaitAnalysisExample\helperGaitPlot.m'
I am also running R2018b.
  10 Comments
Matlaber
Matlaber on 5 Feb 2019
thanks.
I guess you are using matlab version 2018b.
i just wondering how to use this function "helperGaitPlot" which i cannot find information online.
Star Strider
Star Strider on 5 Feb 2019
If I remember correctly, it just loads and displays the file. It doesn’t do any processing, so you’re not missing anything by not having it.

Sign in to comment.

More Answers (2)

Matlaber
Matlaber on 27 Jan 2019
It still not working even with Matlab version 2018b.
It said:
Undefined function 'helperGaitPlot' for input arguments of type 'char'.
  3 Comments
Jan
Jan on 29 Jan 2019
This means, that you have installed the Signal Processing Toolbox, but either no license for it or removed it from Matlab's path.
Matlaber
Matlaber on 29 Jan 2019
Sorry, my Matlab version is 2017b

Sign in to comment.


Jan
Jan on 28 Jan 2019
Let me guess: You typed
helperGaitPlot('als1m')
in the command shell of the operating system? Then the problem is clear: Run it inside Matlab. Start Matlab and type the commands in Matlab's command window.
  2 Comments
Matlaber
Matlaber on 28 Jan 2019
I typed in Matlab's command window, here is it:
>> helperGaitPlot('als1m')
Undefined function or variable 'helperGaitPlot'.
Matlaber
Matlaber on 28 Jan 2019
The first code for the link is:
helperGaitPlot('als1m');
xlim([0 30])

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!