Hello, i am running a Simulink(Plecs Blockset) Simulation on a HPC Compute cluster and on the frontend it runs fine, however if i submit it to the compute nodes with a batch script it crashes.
This is the output when i load a a Simulink Model containing a plecs block, or just run "plecs('version')" in the Matlab command line:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, offscreen_plexim, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Loaded PLECS module Version 4.4.3
Warning: Editor did not receive quit command. Killing the process.
Error while starting server: PLECS executable cannot be started.
Does anyone have an Idea where to start troubleshooting?