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