MATLAB: Creation of Simulink Real-Time CD Boot image failed. Matlab r2016b, Win 10.

boot discbugcdbootr2016bSimulink Real-Timeslrtslrtexplrwindows 10xpctarget

Hello everyone,
Using the Simulink Real-Time Explorer (slrtexplr, former xpcexplr) I cannot create a bootable disk.\ I get the error: "Creation of Simulink Real-Time CD Boot image failed."
Using the command line commands xpcbootdisk or SimulinkRealTime.createBootImage give both the same error: ">> xpcbootdisk Current boot mode: CDBoot Creation of Simulink Real-Time CD Boot image failed." ">> SimulinkRealTime.createBootImage Current boot mode: CDBoot Creation of Simulink Real-Time CD Boot image failed."
When googling the problem I found the following old Thread having a similar but different problem (https://ch.mathworks.com/matlabcentral/newsreader/view_thread/323331). In my case the CDboot.iso does not exist on my harddrive, also not in the temporary directory located with "tempdir".
I am using a Windows 10 64bit (Edu) version and Matlab r2016b. Since it already fails at creating an iso image, I do not think that hardware/driver information for the CD/DVD burner is relevant. Please let me know if I am mistaken.
I have now tested the same on a Windows 7 pro 64 bit machine and I receive the same failure to create the image. This seems to be a bug and therefore I create a bug report.
Thanks for your help/support,
best regards Nicolas Gerig

Best Answer

This is a bug in R2016b when creating CD boot images due to the size of the kernel being larger than the size of a floppy 1.44mb using Graphics mode.
In order to workaround this issue you can create a boot disk without Graphics mode enabled, or use a different target boot method.
Besides disabling the graphics mode, you can also try using another boot method, for example using a USB drive: https://de.mathworks.com/help/xpc/gs/removable-disk-boot-method.html