Why do I receive an error using the xPC Target function XPCBOOTDISK when my current directory contains spaces?

3 views (last 30 days)
When I insert my formatted disk into the floppy disk drive and use the XPCBOOTDISK function in xPC Target 2.6.1 (R14SP1), I receive the following error message:
Creation of xPC Target boot disk failed.
Floppy disk may not be inserted correctly
or floppy disk may be damaged
If I am using xPC Target 2.5 (R14), I receive the following error message:
??? Error using ==> copyfile
Access is denied.
0 file(s) copied.
Error in ==> xpcbootdisk at 119
copyfile(pathToKernel, kernel);
My current directory contains spaces in the path.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in xPC Target 2.7.2 (R14SP2). For previous product releases, read below for any possible workarounds:
We have verified that there is a bug in xPC Target using XPCBOOTDISK when the current directory contains spaces. To work around this issue, change your current directory to one that does not contain spaces.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!