Simulink's spectrum analyzer keeps freezing on Mac Os

8 Ansichten (letzte 30 Tage)
ilham EL mourabit
ilham EL mourabit am 7 Apr. 2022
Bearbeitet: Pooja Kumari am 12 Jan. 2024
Hello,
I'm running Matlab 2021b on Mac Os (M1), it works fine until I try to visualize some results on spectrum analyzer.
The plots are shown correctly, but when I try to change some prameters or take some measurements the whole app freezes showing a spining cursor (it keeps hapenning even when I force quit and reoppen Matlab).
Please help me, I really need a solution to this problem.

Antworten (1)

Pooja Kumari
Pooja Kumari am 12 Jan. 2024
Bearbeitet: Pooja Kumari am 12 Jan. 2024
Hi,
As per my understanding, whenever you are trying to change some parameters while running the spectrum analyser, Simulink freezes on Mac OS. Ensure that MATLAB 2021b is compatible with your version of macOS on the M1 chip. One of the possible issue of crash is happening because the input is scalar complex-valued. Possible workaround can be
  1. Use non-complex input, which might not be possible depending on their use case
  2. Use non-scalar input if possible.
  3. You can specify the FullScale manually by using the command provided below:
set_param(gcb,'FullScaleSource','Property')
set_param(gcb,'FullScale','<value that suits their needs>')
When you try to take some measurement, the whole app freezes. A similar workaround is provided in the below link:

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by