Extremely long delay when opening a Simulink model with UDP block (Instrument Control Toolbox)

62 visualizaciones (últimos 30 días)
Hi all,
I have the following problem: When I try to open a Simulink model with an UDP receive or send block (from the Instrument Control Toolbox) for the first time after starting Simulink, I have to wait over 30 minutes until the program show ready. After this first launch, I can work with the model without any problems. The problem still persists after reinstalling Matlab and Simulink. During the startup time, I can see in the task manager that Matlab is using 35 % of the CPU power. There are two processes from type "Java Chromium Embedded Framework (JCEF) Helper" and two from type "Matlab 2020a". I think it is a problem with the "Instrumental Control Toolbox" because I only have this problem when I use blocks from it.
Does someone else also have this problem and how can it be solved?
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.8.0.1323502 (R2020a)
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 18362)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
Instrument Control Toolbox Version 4.2 (R2020a)
  1 comentario
VIJAY KUMAR DUBEY
VIJAY KUMAR DUBEY el 27 de En. de 2021
I have got the same problem after simulation. Since matlab 2020 requires more than 8GB of RAM, the problem must be associated with the RAM. I hope after increasing the RAM of your system, the problem will automatically dissolved

Iniciar sesión para comentar.

Respuesta aceptada

sven lack
sven lack el 19 de Mzo. de 2021
Hello and thanks for the answers but they don't solve my problem. I am now using Matlab 2020b on a computer with 16 GB of RAM, I7-7500U CPU and still the same problem. A simple model with just a UDP receive block takes 3 minutes to load (when I open it for the first time, if I close the model and open it again, it takes half as long). Java is up to date and I don't have prescan installed.
So, I think the best solution to the problem is to use udp blocks from other libraries (e.g. DSP toolbox). The same Model with a UDP receive block from the DSP toolbox takes less than a second to load on my system.

Más respuestas (7)

Longfrei Bai
Longfrei Bai el 28 de Sept. de 2021
I have the same issue with 2021b...

Tim
Tim el 14 de Jul. de 2022
I have the same problem, usually triggered by plotting within a live script .mlx

David Truscott
David Truscott el 19 de Jul. de 2022
Same problem!

Jiajun Ma
Jiajun Ma el 2 de Mzo. de 2021
Hi Sven.
I have encoutered the same issue.
After updating my Java to latested version and reboot my computer.
The problem is solved.
  3 comentarios
Walter Roberson
Walter Roberson el 15 de En. de 2023
https://www.mathworks.com/products/connections/product_detail/prescan.html maybe??

Iniciar sesión para comentar.


cui,xingxing
cui,xingxing el 6 de Jul. de 2022
Editada: cui,xingxing hace alrededor de 22 horas
R2022a have the same issue... MATLAB Takes up too much memory
automated driving toolbox: driving scenaro app
-------------------------Off-topic interlude, 2024-------------------------------
I am currently looking for a job in the field of CV algorithm development, based in Shenzhen, Guangdong, China,or a remote support position. I would be very grateful if anyone is willing to offer me a job or make a recommendation. My preliminary resume can be found at: https://cuixing158.github.io/about/ . Thank you!
Email: cuixingxing150@gmail.com

Qiang Wang
Qiang Wang el 1 de Feb. de 2023
I met the same problem, matlab live scrip .mlx suddently runs very very slow. Open task manager, many processes of Jave Chromium Embedded Framework (JCEF) Helper are listed.
Any suggetions to resovle this problem? Thanks.

Lewis Ireland
Lewis Ireland el 20 de Mzo. de 2023
I'm experiencing this problem.
An answer to this would be most appreciated it looks!
  1 comentario
spin spin
spin spin el 12 de Oct. de 2023
I have experienced the same problem with Matlab 2021a
Experimenting with toolbox UMAP, matlab remains iddle as busy (in fact it is "frozen"... and I have to terminate it from task manager) and at the same time the task manager indicates several JCEF Helper processing runnings...
how can resolve this technical issue???
Windows 10 , 16GB Ram...

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Parallel Server en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by