필터 지우기
필터 지우기

Error using cwtfilterb​ank/valida​teInputsMA​TLAB

조회 수: 5 (최근 30일)
Irina Filchenko
Irina Filchenko 2022년 11월 5일
답변: Suvansh Arora 2022년 11월 8일
I am tryng to use cwt function from Wavelet toolbox.
I am using the example provided in the description:
However, I get the following mistake:
load mtlb;
w = cwt(mtlb);
Error using cwtfilterbank/validateInputsMATLAB
Error: File: strncmpi.m Line: 1 Column: 1
Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII
characters.
Why does this mistake come?

답변 (1개)

Suvansh Arora
Suvansh Arora 2022년 11월 8일
The stack trace mentioned usually comes up, whenever there is a use of special character in a “.m” script.
In order to DEBUG this further, please follow the below mentioned procedure:
  • Check if “load mtlb” does not precede with any special character. See the code below, that would cause the trace mentioned.
`load mtlb;
w = cwt(mtlb);
  • Name of your “.m” script must not match with any predefined MATLAB module, “strncmpi” is a built-in module, make sure you are not making any changes in that.

카테고리

Help CenterFile Exchange에서 Continuous Wavelet Transforms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by