Thread Subject: Embedded MatLab emlmex error message

Subject: Embedded MatLab emlmex error message

From: Bill

Date: 28 May, 2008 19:01:03

Message: 1 of 3

All,

When trying to "compile" a simple function with the
following command:

emlmex check_parity_sacch -eg ( rx_block1, PARITY_CHK )

I get the following error message:

Failed to evaluate "( rx_block1, PARITY_CHK )" to non-empty
array in the base workspace


Both rx_block1 and PARITY_CHK are in the current workspace.

Any thoughts?

TIA,

Bill

Subject: Embedded MatLab emlmex error message

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 28 May, 2008 19:07:12

Message: 2 of 3

In article <g1ka5f$8a7$1@fred.mathworks.com>,
Bill <john.doe.nospam@mathworks.com> wrote:

>When trying to "compile" a simple function with the
>following command:

>emlmex check_parity_sacch -eg ( rx_block1, PARITY_CHK )

>I get the following error message:

>Failed to evaluate "( rx_block1, PARITY_CHK )" to non-empty
>array in the base workspace

Hmmm, is that the right syntax? That would become the call

elmmex('check_parity_sacch', '-eg', '(', 'rx_block1,', 'PARITY_CHK', ')' )
--
  "There is nothing so bad but it can masquerade as moral."
                                              -- Walter Lippmann

Subject: Embedded MatLab emlmex error message

From: Bill

Date: 28 May, 2008 19:33:02

Message: 3 of 3

Right you are - I needed curly braces "{}" instead of
parenthesis "()"

Thanks




roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in
message <g1kah0$rvm$1@canopus.cc.umanitoba.ca>...
> In article <g1ka5f$8a7$1@fred.mathworks.com>,
> Bill <john.doe.nospam@mathworks.com> wrote:
>
> >When trying to "compile" a simple function with the
> >following command:
>
> >emlmex check_parity_sacch -eg ( rx_block1, PARITY_CHK )
>
> >I get the following error message:
>
> >Failed to evaluate "( rx_block1, PARITY_CHK )" to non-
empty
> >array in the base workspace
>
> Hmmm, is that the right syntax? That would become the call
>
> elmmex('check_parity_sacch', '-
eg', '(', 'rx_block1,', 'PARITY_CHK', ')' )
> --
> "There is nothing so bad but it can masquerade as
moral."
> -- Walter
Lippmann

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
embedded matlab Bill 28 May, 2008 15:05:08
rssFeed for this Thread

Contact us at files@mathworks.com