Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: XPC Target - same PC as Host and Target

Subject: XPC Target - same PC as Host and Target

From: betoordie

Date: 22 Jul, 2008 17:12:02

Message: 1 of 4

Hi, i'm trying to use the same computer as host and target,
so i'm using the XPC embeeded option with standalone mode.

what i'm doing is, generating the code from a simple model
(sine wave with a target scope) with standalone mode. then
it generates the 3 files (xpcboot.com, "model".rtw and
autoexec.bat). then i put these 3 files inside a pendrive
boot disk with DOS(Win98), and restart the PC. The computer
boots in DOS mode and load the xpcboot.com but gives the
folowing error when execute the application:

"ERROR: No accessible disk found: file system disable
error 1154
Could not load model: corrupted file
invalid DLM file format"

The pendrive is formmated in FAT32 and boots in DOS without
problems
my windows is windows XP, and Matlab is 7.6 with XPC 3.4
my compiler is Watcom 1.3.

Subject: Re: XPC Target - same PC as Host and Target

From: betoordie

Date: 23 Jul, 2008 14:48:02

Message: 2 of 4

Well, i decided to boot DOS with floppy, and run the
application in a FAT32 HD, and 1 error is gone, but the
error 1154 is still there:

"error 1154
Could not load model: corrupted file
invalid DLM file format"

can anyone help me?

thanks!





"betoordie " <betoordie@gmail.com> wrote in message
<g654d2$dec$1@fred.mathworks.com>...
> Hi, i'm trying to use the same computer as host and target,
> so i'm using the XPC embeeded option with standalone mode.
>
> what i'm doing is, generating the code from a simple model
> (sine wave with a target scope) with standalone mode. then
> it generates the 3 files (xpcboot.com, "model".rtw and
> autoexec.bat). then i put these 3 files inside a pendrive
> boot disk with DOS(Win98), and restart the PC. The computer
> boots in DOS mode and load the xpcboot.com but gives the
> folowing error when execute the application:
>
> "ERROR: No accessible disk found: file system disable
> error 1154
> Could not load model: corrupted file
> invalid DLM file format"
>
> The pendrive is formmated in FAT32 and boots in DOS without
> problems
> my windows is windows XP, and Matlab is 7.6 with XPC 3.4
> my compiler is Watcom 1.3.
>

Subject: Re: XPC Target - same PC as Host and Target

From: Gordon Weast

Date: 23 Jul, 2008 17:18:56

Message: 3 of 4

If you had contacted tech support, they would have directed
you to a bug report with a solution for this. Take a look at:
http://www.mathworks.com/support/bugreports/details.html?rp=448529

There is a file to download that will fix this problem.

Gordon Weast
xPC Target Development
The MathWorks

betoordie wrote:
> Well, i decided to boot DOS with floppy, and run the
> application in a FAT32 HD, and 1 error is gone, but the
> error 1154 is still there:
>
> "error 1154
> Could not load model: corrupted file
> invalid DLM file format"
>
> can anyone help me?
>
> thanks!
>
>
>
>
>
> "betoordie " <betoordie@gmail.com> wrote in message
> <g654d2$dec$1@fred.mathworks.com>...
>> Hi, i'm trying to use the same computer as host and target,
>> so i'm using the XPC embeeded option with standalone mode.
>>
>> what i'm doing is, generating the code from a simple model
>> (sine wave with a target scope) with standalone mode. then
>> it generates the 3 files (xpcboot.com, "model".rtw and
>> autoexec.bat). then i put these 3 files inside a pendrive
>> boot disk with DOS(Win98), and restart the PC. The computer
>> boots in DOS mode and load the xpcboot.com but gives the
>> folowing error when execute the application:
>>
>> "ERROR: No accessible disk found: file system disable
>> error 1154
>> Could not load model: corrupted file
>> invalid DLM file format"
>>
>> The pendrive is formmated in FAT32 and boots in DOS without
>> problems
>> my windows is windows XP, and Matlab is 7.6 with XPC 3.4
>> my compiler is Watcom 1.3.
>>
>

Subject: Re: XPC Target - same PC as Host and Target

From: betoordie

Date: 23 Jul, 2008 20:29:03

Message: 4 of 4

Thank you very much,

never thought that was a bug!

Gordon Weast <gweast@mathworks.com> wrote in message
<g67p60$ges$1@fred.mathworks.com>...
> If you had contacted tech support, they would have directed
> you to a bug report with a solution for this. Take a look at:
>
http://www.mathworks.com/support/bugreports/details.html?rp=448529
>
> There is a file to download that will fix this problem.
>
> Gordon Weast
> xPC Target Development
> The MathWorks


Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
xpc target standalone dlm host betoordie 22 Jul, 2008 13:15:17
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics