Make Simulink Real-Time™ Target Support Package installable via MPM
sribasadhikary opened this issue · 13 comments
na
Hi sribasadhikary. This functionality is in the next MPM release, MPM 2024.2, which will be available later this summer.
Can someone please explain how I do this? I can't see the Simulink Real-Time Target Support Package listed in the example mpm input files, so I've guessed at the product name.
The documentation on this page seems to be conflicting:
To download the unsupported support packages, use the Support Software Downloader. You can then install the support packages by following the instructions in the README included in the download. mpm does not support installing support packages downloaded using the Support Software Downloader.
I have tried passing the source folder argument for the package that I've downloaded with the Support Software Downloader but get this error:
Error: Invalid source folder. Specify a valid source folder containing extracted MathWorks product installation files
Looping in @mw-skardile for his thoughts
Hi, @davidtopham. I can confirm that mpm does not support downloading or installing Simulink Real-Time Target Support Package. Instead, follow these instructions:
- Download the latest Support Software Downloader for your platform.
- Run the downloader. Select your release, the support packages you want, and the folder to download them to.
- Once the download is complete, in the download folder, open the readme.txt file. Follow the instructions in that readme to install the support packages.
We will add these instructions to the mpm documentation.
Any update on direct support by mpm? Using mpm 2024.2.2 I receive the following error:
Error: These are not supported by mpm: Simulink_Real-Time_Target_Support_Package
Hi, @davidtopham. I can confirm that mpm does not support downloading or installing Simulink Real-Time Target Support Package. Instead, follow these instructions:
- Download the latest Support Software Downloader for your platform.
- Run the downloader. Select your release, the support packages you want, and the folder to download them to.
- Once the download is complete, in the download folder, open the readme.txt file. Follow the instructions in that readme to install the support packages.
We will add these instructions to the mpm documentation.
Hi @mw-wtripp,
I am trying to do this in a Dockerfile to be able to install the Simulink Real-Time Target Support Package in a Docker container. However, I get an error when building the docker container on the line that runs SupportSoftwareInstaller that there is no display available.
I don't want to have any display support in my container, so is there a way around this?
> [4/4] RUN /opt/matlab/R2023b/bin/glnxa64/SupportSoftwareInstaller -downloadfolder /MATLAB/SupportPackages/R2023b -inputfile /MATLAB/SupportPackages/R2023b/ssi_input.txt: 0.570 terminate called after throwing an instance of '(anonymous namespace)::DisplayError' 0.570 what(): No display available. 0.573 Aborted
@davidtopham, at the moment we don't have a workaround for this. The display is required to show a license agreement that needs to be agreed to and can't be skipped. The development team is aware of this limitation and is investigating ways to remove it.