Which Linux kernel is compatible with Simulink Desktop Real-Time?
22 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to run simulink code based on Desktop Real-Time (R2023b) in a Ubuntu 20.04 based distribution, but the kernel installation is not as easy as it is in Windows...
First I tried installing it from the command line using sldrtkernel -install and it returned the next error:
Error: The Linux kernel version of your system is not compatible with Simulink Desktop Real-Time. Please update your operating system.
Next, I tried upgrading the kernel (to 6.5.7-060507-generic), and now the error is as follows:
Error using sldrtkernel>RunInstaller
Unsupported Linux kernel build: "Ubuntu-6.5-gcc-13".
Error in sldrtkernel>sldrtk_setup (line 127)
result = RunInstaller(prompt, 'install');
Error in sldrtkernel (line 64)
retval = sldrtk_setup(prompt);
Both errors are well documented in the Simulink Desktop Real-Time user's guide, but there's no clear solution to make it work.
Of course, Matlab can't make a Desktop Real-Time kernel for each and every Linux kernel, but is it possible to have a list of supported kernel versions so that users can upgrade/downgrade their kernel to make it work?
Could any Linux user currently using Simulink Desktop Real-Time mention the kernel version they are using?
0 Kommentare
Antworten (1)
Jan Houska
am 23 Okt. 2023
Hi Diego,
please see the folder names in toolbox/sldrt/kernel/glnxa64 . They correspond to supported kernel versions. For Ubuntu 20.04, please use either the 5.4 or the 5.15 kernel. The first is the initial kernel release for 20.04 (also known as GA), the second is the latest HWE kernel at the time the R2023b release was finished.
Good Luck, Jan
5 Kommentare
Jan Houska
am 31 Okt. 2023
Hi Diego,
the installer "sldrtkernel" is a MATLAB function which calls some Linux system commands. The error is issued by the MATLAB function. Could you please do this:
dbstop in sldrtkernel at 519
dbstop in sldrtkernel at 677
and post on which line the error was reported? This will help to distinguis which of the mutiple compatibility checks has failed.
Also, you may want to contact MathWorks support with the issue. This way, it gets to the development team the official way.
Jan
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!