From: umut arioz on 27 Dec 2009 08:16 I am transforming my m file for compliant to the embedded matlab function. but I didnot solve that error messages : t=0:comp_range*comp_ratio/comp_range:comp_range*comp_ratio; message : Operands must be constants. "but these operands are inputs of the block and this is the real time application, so they must change. " and k.01; y = fft(bp_sound_mix((k:k+499),:),4096); message: could not determine the size of this expression (k:k+499) "I didnot understand the message logic" so what can I do for that messages ? thanks
From: Michael Hosea on 28 Dec 2009 18:28 Instead of k:k+499 use k + (0:499) -- Mike "umut arioz" <john.doe.nospam(a)mathworks.com> wrote in message news:hh7mmi$k0m$1(a)fred.mathworks.com... >I am transforming my m file for compliant to the embedded matlab function. >but I didnot solve that error messages : > t=0:comp_range*comp_ratio/comp_range:comp_range*comp_ratio; > message : Operands must be constants. > > "but these operands are inputs of the block and this is the real time > application, so they must change. " > > and > k.01; > y = fft(bp_sound_mix((k:k+499),:),4096); > message: could not determine the size of this expression (k:k+499) > > "I didnot understand the message logic" > > so what can I do for that messages ? > > thanks
|
Pages: 1 Prev: how to send keyboard event Next: How to the Poisson solver poisolv for an image |