| MATLAB Central > MATLAB Newsreader > error on using variables and matlab function withi... |
|
|
|
Subject: error on using variables and matlab function within embedded func. simulink component From: Niveen Morsi Date: 26 Feb, 2013 12:44:08 Message: 1 of 8 |
|
Hello all, |
|
Subject: error on using variables and matlab function within embedded func. simulink component From: Phil Goddard Date: 26 Feb, 2013 15:16:08 Message: 2 of 8 |
|
Any functions not part of the Embedded MATLAB subset must be defined as being eml.extrinsic (or more recently coder.extrinsic). |
|
Subject: error on using variables and matlab function within embedded func. simulink component From: Niveen Morsi Date: 11 Mar, 2013 13:15:09 Message: 3 of 8 |
|
"Phil Goddard" <phil@goddardconsulting.ca> wrote in message <kgijjo$n95$1@newscl01ah.mathworks.com>... |
|
Subject: error on using variables and matlab function within embedded func. simulink component From: Phil Goddard Date: 11 Mar, 2013 15:03:07 Message: 4 of 8 |
|
|
|
Subject: error on using variables and matlab function within embedded func. simulink component From: Niveen Morsi Date: 11 Mar, 2013 19:52:05 Message: 5 of 8 |
|
"Phil Goddard" <phil@goddardconsulting.ca> wrote in message <khkrnb$32p$1@newscl01ah.mathworks.com>... |
|
Subject: error on using variables and matlab function within embedded func. simulink component From: Niveen Morsi Date: 12 Mar, 2013 00:10:16 Message: 6 of 8 |
|
"Phil Goddard" <phil@goddardconsulting.ca> wrote in message <khkrnb$32p$1@newscl01ah.mathworks.com>... |
|
Subject: error on using variables and matlab function within embedded func. simulink component From: Phil Goddard Date: 12 Mar, 2013 01:03:06 Message: 7 of 8 |
|
I don't have any direct experience with aviinfo or aviread within a MATLAB Fcn block but suspect that because they return objects, and you need to call the methods (i.e. functions) that manipulate those objects you'd need to define all the methods as being eml.extrinsic too. |
|
Subject: error on using variables and matlab function within embedded func. simulink component From: Niveen Morsi Date: 12 Mar, 2013 07:43:08 Message: 8 of 8 |
|
"Phil Goddard" <phil@goddardconsulting.ca> wrote in message <khlusa$nf8$1@newscl01ah.mathworks.com>... |
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.
