MATLAB Answers

Translated by

このページのコンテンツは英語から自動翻訳されています。自動翻訳をオフにする場合は「<a class="turn_off_mt" href="#">ここ</a>」をクリックしてください。

Matlaber
0

how to use helperGaitPlot?

Matlaber
さんによって質問されました 2019 年 1 月 22 日
最新アクティビティ Star Strider
さんによって コメントされました 2019 年 2 月 5 日
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 件のコメント

Jan
2019 年 1 月 28 日
@Hsein Ping Kew: You have to insert both commands:
List = dir(fullfile(matlabroot, '**', 'helperGaitPlot.*'))
List.folder
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
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.

サインイン to comment.

3 件の回答

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 件のコメント

Star Strider
2019 年 2 月 5 日
As always, my pleasure.
The code snippet produices the same plot as in Measure Inter-Stride Time Intervals (link).
You already have all the functions (midcross, dtw) that documentation page uses. Any physiological (or other) signal will likely work, so the ones provided for the Extracting Classification Features from Physiological Signals page are not necessary for you to do essentially the same thing with your signals.
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
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.

サインイン to comment.


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 件のコメント

Matlaber
2019 年 1 月 28 日
I typed in Matlab's command window, here is it:
>> List = dir(fullfile(matlabroot, '**', 'helperGaitPlot.*'))
List.folder
List =
struct with fields:
name: 'helperGaitPlot.m'
folder: 'C:\Program Files\MATLAB\R2017b\examples\signal\main'
date: '23-Oct-2015 15:22:36'
bytes: 228
isdir: 0
datenum: 7.3626e+05
ans =
'C:\Program Files\MATLAB\R2017b\examples\signal\main'
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
2019 年 1 月 29 日
Sorry, my Matlab version is 2017b

サインイン to comment.


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

サインイン to comment.



Translated by