Waveform Segmentation Using Deep Learning: resizeSignal does not seem to work

조회 수: 1 (최근 30일)
I am trying to repeat the example given in MATLAB site.
when I try to execute the following lines of commands, theres is no output produced on the workspace,
[signalsTrain,labelsTrain] = resizeSignals(trainQT);
[signalsTest,labelsTest] = resizeSignals(testQT);
instead I keep getting a message on my command window in red. I'm on R2019b
'resizeSignals' is used in Waveform Segmentation Using Deep Learning.
Can someone help me out on this, please?
Screenshot from 2020-02-03 12-15-40.png

채택된 답변

Shunichi Kusano
Shunichi Kusano 2020년 2월 5일
Hi Althaff,
the error relates to the path setting. You need to set the path to the file location or just copy resizeSignals.m from the original example folder to your current folder. Then you can use it.
  댓글 수: 1
Althaff Mohideen
Althaff Mohideen 2020년 2월 6일
Hi There,
Thanks for the pointer.
Is not the resizeSignals.m file supposed to be within the Deep-Learning toolbox? and just run without needing to copy paste?
the example I was referring to is from the mathwork site, here is the (Link).
by the way the resizeSignals.m file is located at /usr/local/MATLAB/R2019a/examples/deeplearning_shared/main/resizeSignals.m
I hope this is the default matlab installation location for linux boxes.
I will try your suggestion and see if it works, and will report it.
Thanks again.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by