MATLAB: Am I unable to specify the CD boot image location when creating a kernel boot CD in R2012a

When I try to create a kernel boot CD with xPC Target, the boot image (.iso) is stored in a temporary folder specified as part of the creation procedure. Why am I unable to specify a location for this folder in R2012a?

Best Answer

This is a known limitation of R2012a.
You can find the location of the temporary directory by following the steps below:
  1. Create the CD Boot image without burning the CD. You can do this using xPC Target Explorer or using the 'xpcbootdisk' command from the MATLAB command line.
  2. Type 'tempdir' at the MATLAB command window. The location displayed is where the CD boot image (cdboot.iso) is located.
For example:
>> xpcbootdisk
CD boot image is successfully created
Insert an empty CD/DVD. Available drives:
[1] There were no writable devices detected!
[0] Cancel Burn
Select a CD/DVD writer drive: 0
>> tempdir
ans =
C:\Users\...\AppData\Local\Temp\