'Envelope' function doesn't work anymore

2 vues (au cours des 30 derniers jours)
Conny Boldt
Conny Boldt le 31 Jan 2019
Réponse apportée : Luna le 31 Jan 2019
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 commentaires
Conny Boldt
Conny Boldt le 31 Jan 2019
Modifié(e) : Conny Boldt le 31 Jan 2019
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 le 31 Jan 2019
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.

Connectez-vous pour commenter.

Réponses (1)

Luna
Luna le 31 Jan 2019
Maybe this would help you:
restoredefaultpath
rehash toolboxcache
savepath
Please restart Matlab after this execution.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by