how to use helperGaitPlot?

2 次查看(过去 30 天)
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 个评论
Matlaber
Matlaber 2019-1-28
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 2019-1-28
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.

请先登录,再进行评论。

采纳的回答

Star Strider
Star Strider 2019-1-28
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 个评论
Matlaber
Matlaber 2019-2-5
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 2019-2-5
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.

请先登录,再进行评论。

更多回答(2 个)

Matlaber
Matlaber 2019-1-27
It still not working even with Matlab version 2018b.
It said:
Undefined function 'helperGaitPlot' for input arguments of type 'char'.
  3 个评论
Jan
Jan 2019-1-29
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 2019-1-29
Sorry, my Matlab version is 2017b

请先登录,再进行评论。


Jan
Jan 2019-1-28
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 个评论
Matlaber
Matlaber 2019-1-28
I typed in Matlab's command window, here is it:
>> helperGaitPlot('als1m')
Undefined function or variable 'helperGaitPlot'.
Matlaber
Matlaber 2019-1-28
The first code for the link is:
helperGaitPlot('als1m');
xlim([0 30])

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by