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

Thread Subject: xPC error

Subject: xPC error

From: ERHAN

Date: 7 Jul, 2008 10:15:03

Message: 1 of 3

I have problem with xPC Target.

My MATLAB is R2007b-Simulink Version 7.0, my OS Windows XP

When I compile my model that is developed under xPC
Target , there is an error message. I can not compile my
models.

"Error Building Real-Time Workshop target for block
diagram "model name" .
MATLAb error message:
Error using ==> callmakehook at 49
The call to xpctarget_make_rtw hook\ during the exit hook
generated the following error?
          Error us'ng ==>load at 38

In assignment A(I)=B the number of elements in B and I must
be the same"

This error appears for other models not only one model.

Best Regards



Subject: xPC error

From: Gordon Weast

Date: 7 Jul, 2008 19:52:41

Message: 2 of 3

Erhan,

I'm not sure about this, but it looks like a coding error
in some embedded M code in your model.

Have you tried to simulate this model on the host? Does it
run there or does it get an error?

If this isn't enough of a help for you, you'll need to contact
tech support for more assistance. You'll need to supply the
whole model in order for anyone to help you more with this.

Gordon Weast
xPC Target Development
The MathWorks

ERHAN wrote:
> I have problem with xPC Target.
>
> My MATLAB is R2007b-Simulink Version 7.0, my OS Windows XP
>
> When I compile my model that is developed under xPC
> Target , there is an error message. I can not compile my
> models.
>
> "Error Building Real-Time Workshop target for block
> diagram "model name" .
> MATLAb error message:
> Error using ==> callmakehook at 49
> The call to xpctarget_make_rtw hook\ during the exit hook
> generated the following error?
> Error us'ng ==>load at 38
>
> In assignment A(I)=B the number of elements in B and I must
> be the same"
>
> This error appears for other models not only one model.
>
> Best Regards
>
>
>

Subject: xPC error

From: ERHAN

Date: 8 Jul, 2008 04:51:02

Message: 3 of 3

Dear Mr. West, Thanks alot for your advice. I found the
problem. This model use a data file, when I open the data
file, there is an error appear on the monitor. Because of
this I changed this data file, and problem was solved.

Best Regards.


Gordon Weast <gweast@mathworks.com> wrote in message <g4ts69
$nq4$1@fred.mathworks.com>...
> Erhan,
>
> I'm not sure about this, but it looks like a coding error
> in some embedded M code in your model.
>
> Have you tried to simulate this model on the host? Does
it
> run there or does it get an error?
>
> If this isn't enough of a help for you, you'll need to
contact
> tech support for more assistance. You'll need to supply
the
> whole model in order for anyone to help you more with
this.
>
> Gordon Weast
> xPC Target Development
> The MathWorks
>
> ERHAN wrote:
> > I have problem with xPC Target.
> >
> > My MATLAB is R2007b-Simulink Version 7.0, my OS Windows
XP
> >
> > When I compile my model that is developed under xPC
> > Target , there is an error message. I can not compile
my
> > models.
> >
> > "Error Building Real-Time Workshop target for block
> > diagram "model name" .
> > MATLAb error message:
> > Error using ==> callmakehook at 49
> > The call to xpctarget_make_rtw hook\ during the exit
hook
> > generated the following error?
> > Error us'ng ==>load at 38
> >
> > In assignment A(I)=B the number of elements in B and I
must
> > be the same"
> >
> > This error appears for other models not only one model.
> >
> > Best Regards
> >
> >
> >

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 compile error ERHAN 7 Jul, 2008 06:20:03
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