Simulink's spectrum analyzer keeps freezing on Mac Os

3 views (last 30 days)
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.

Answers (1)

Pooja Kumari
Pooja Kumari on 12 Jan 2024
Edited: Pooja Kumari on 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:

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!