Prev: oop performance
Next: Eye Tracking
From: Juri Minxha on 29 Jun 2010 07:03 I have the 2010a matlab release. I am using the embedded matlab subset in SIMULINK. As I understand it, logical indexing is now supported in this new release. However I still get an error saying that logical indexing is not supported. I am not sure why this is the case. Any ideas?
From: Steven Lord on 29 Jun 2010 09:34 "Juri Minxha" <mindpekin(a)yahoo.com> wrote in message news:i0cjt8$adu$1(a)fred.mathworks.com... >I have the 2010a matlab release. I am using the embedded matlab subset in >SIMULINK. As I understand it, logical indexing is now supported in this new >release. However I still get an error saying that logical indexing is not >supported. I am not sure why this is the case. Any ideas? Be careful; there's one bit of subtlety in the Release Notes: http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/rn/bsawhtd.html#bsawlji "Embedded MATLAB Function blocks now support logical indexing when variable sizing is enabled. Embedded MATLAB supports variable-size data by default for MEX and C/C++ code generation." So have you enabled variable sizing in your Embedded MATLAB function block? http://www.mathworks.com/access/helpdesk/help/toolbox/eml/ug/br7rggy.html -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
|
Pages: 1 Prev: oop performance Next: Eye Tracking |