From: Marcus on 24 Mar 2010 04:55 Hello, I'm trying to use embedded Matlab in combination with an xPC. In my embedded Matlab-function I use commands like 'int2str'. I declare these functions by using the eml.extrinsic('int2str') command. Unfortunately it occurs an error. Is there a possibility to use commands like these with embedded-Matlab-Function with an xPC? Thanks for your help.
From: Michael Hosea on 24 Mar 2010 16:48 Well, anything you declare extrinsic has to run in MATLAB, so it has to be a mex target. If you're just converting numeric values into bytes to marshal them between components, you can cast to an appropriate integer class and then use TYPECAST to serialize and deserialize. TYPECAST is supported intrinsically in Embedded MATLAB. -- Mike "Marcus " <mawalter(a)rhrk.uni-kl.de> wrote in message news:hock1c$nbl$1(a)fred.mathworks.com... > Hello, > > I'm trying to use embedded Matlab in combination with an xPC. In my > embedded Matlab-function I use commands like 'int2str'. I declare these > functions by using the eml.extrinsic('int2str') command. > Unfortunately it occurs an error. Is there a possibility to use commands > like these with embedded-Matlab-Function with an xPC? > > Thanks for your help.
|
Pages: 1 Prev: Function names in mclmcrrt79 Next: what is the equivalent of system.exit(0)(JAVA) in MATLAB? |