'Envelope' function doesn't work anymore

조회 수: 4 (최근 30일)
Conny Boldt
Conny Boldt 2019년 1월 31일
답변: Luna 2019년 1월 31일
Hi all,
I am experiencing a strange problem with a code that I wrote about a year ago. It seems that the key of my problem is that the 'envelope' function doesn't work anymore.
Essentially, I can't even reproduce the first example from the mathworks website https://uk.mathworks.com/help/signal/ref/envelope.html anymore. Matlab is just 'Busy' for an insanely long time and 'Ctrl + c' doesn't stop the process either.
I have just updated from 2017b to 2018b to see if this solves the problem, but it doesn't. I use Windows 7.
Grateful for any help! Thanks!
  댓글 수: 3
Conny Boldt
Conny Boldt 2019년 1월 31일
편집: Conny Boldt 2019년 1월 31일
Hi, apologies, the example is
t = 0:1/2000:2-1/2000;
q = chirp(t-2,4,1/2,6,'quadratic',100,'convex').*exp(-4*(t-1).^2);
plot(t,q)
[up,lo] = envelope(q);
hold on
plot(t,up,t,lo,'linewidth',1.5)
legend('q','up','lo')
hold off
It is the first example from the mathworks website.
With ctrl+c, matlab doesn't stop at all, atm I have to force the programme to stop in order to exit the script.
Conny Boldt
Conny Boldt 2019년 1월 31일
Hi Jan, I have tested Ok = UniqueFuncNames().
After uninstalling several tookboxes, the remaining two conflicts are
-- rtwTargetInfo:
C:\Program Files\MATLAB\R2018b\toolbox\coder\coder\rtwTargetInfo.p
C:\Program Files\MATLAB\R2018b\toolbox\coder\foundation\build\tools\registry\rtwTargetInfo.p
Yet I don't even have the coder toolbox in my add-on list? I am a bit confused about what to do now.

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

답변 (1개)

Luna
Luna 2019년 1월 31일
Maybe this would help you:
restoredefaultpath
rehash toolboxcache
savepath
Please restart Matlab after this execution.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by