I'm trying to set up a block in scicos that implements the modulo
function. Using the expression block and
entering modulo(u1,u2) results in the error "Unknown variable modulo."
What am I doing wrong?
Thanks,
-Scott
|
|
0
|
|
|
|
Reply
|
Scott
|
3/17/2011 12:05:34 AM |
|
As the help page of the EXPRESSION block indicates, only the following
functions are supported:
"The mathematical functions allowed are : sin, cos, tan, exp, log, sinh,
cosh, tanh, int, round, ceil, floor, sign, abs, max, min, asin, acos,
atan, asinh, acosh, atanh, atan2, log10. "
If you need to evaluate more general expressions, use the block Scifunc
or SciBlk that allow the use of any code that is legal in ScicosLab.
Note however that unlike the EXPRESSION block, these blocks are
interpreted so they may not be as fast.
FD
Scott a �crit :
> I'm trying to set up a block in scicos that implements the modulo
> function. Using the expression block and
> entering modulo(u1,u2) results in the error "Unknown variable modulo."
>
> What am I doing wrong?
>
> Thanks,
> -Scott
|
|
0
|
|
|
|
Reply
|
Francois
|
3/18/2011 8:46:58 AM
|
|
Thanks for the information. What help page are you referring to?
When I open the help page (right-click and choose help) for the
expression block I don't see any of the information that you've
included here. The help page I get is very sparse and there isn't any
mention that only a subset of
scilab functions are supported.
Are there some other help files that I should be looking at? Do
different versions have different help?
I'm using ScicosLab-4.4b7 on OS X.
I took a look at the help in Scilab 5.3.1-Xcos and I see the same
help. Where should I be looking?
Even http://www-scicos.inria.fr/HELP/eng/scicos/EXPRESSION.htm doesn't
list the limitations you quoted.
What's the help source you quoted?
Thanks again!
-Scott
On Mar 18, 2:46=A0am, Francois Delebecque <Francois.Delebec...@inria.fr>
wrote:
> As the help page of the EXPRESSION block indicates, only the following
> functions are supported:
>
> "The mathematical functions allowed are : sin, cos, tan, exp, log, sinh,
> cosh, tanh, int, round, ceil, floor, sign, abs, max, min, asin, acos,
> atan, asinh, acosh, atanh, atan2, log10. "
>
> If you need to evaluate more general expressions, use the block Scifunc
> or SciBlk that allow the use of any code that is legal in ScicosLab.
> Note however that unlike the EXPRESSION block, these blocks are
> interpreted so they may not be as fast.
>
> FD
>
> Scott a crit :
>
>
>
> > I'm trying to set up a block in scicos that implements the modulo
> > function. Using the expression block and
> > entering modulo(u1,u2) results in the error "Unknown variable modulo."
>
> > What am I doing wrong?
>
> > Thanks,
> > -Scott
|
|
0
|
|
|
|
Reply
|
Scott
|
3/20/2011 10:39:42 PM
|
|
The help page has been updated since ScicosLab-4.4b8. The latest version
of Scicos, Scicos 4.4, is distributed with ScicosLab 4.4, which was
released a couple of months ago (www.scicoslab.org). I suggest you wait
before upgrading your version since ScicosLab 4.4.1 will be released in
a few days. There will in particular be specific improvements in the Mac
version.
FD
Scott a �crit :
> Thanks for the information. What help page are you referring to?
>
> When I open the help page (right-click and choose help) for the
> expression block I don't see any of the information that you've
> included here. The help page I get is very sparse and there isn't any
> mention that only a subset of
> scilab functions are supported.
>
> Are there some other help files that I should be looking at? Do
> different versions have different help?
>
> I'm using ScicosLab-4.4b7 on OS X.
>
> I took a look at the help in Scilab 5.3.1-Xcos and I see the same
> help. Where should I be looking?
>
> Even http://www-scicos.inria.fr/HELP/eng/scicos/EXPRESSION.htm doesn't
> list the limitations you quoted.
>
> What's the help source you quoted?
>
> Thanks again!
> -Scott
>
> On Mar 18, 2:46 am, Francois Delebecque <Francois.Delebec...@inria.fr>
> wrote:
>> As the help page of the EXPRESSION block indicates, only the following
>> functions are supported:
>>
>> "The mathematical functions allowed are : sin, cos, tan, exp, log, sinh,
>> cosh, tanh, int, round, ceil, floor, sign, abs, max, min, asin, acos,
>> atan, asinh, acosh, atanh, atan2, log10. "
>>
>> If you need to evaluate more general expressions, use the block Scifunc
>> or SciBlk that allow the use of any code that is legal in ScicosLab.
>> Note however that unlike the EXPRESSION block, these blocks are
>> interpreted so they may not be as fast.
>>
>> FD
>>
>> Scott a crit :
>>
>>
>>
>>> I'm trying to set up a block in scicos that implements the modulo
>>> function. Using the expression block and
>>> entering modulo(u1,u2) results in the error "Unknown variable modulo."
>>> What am I doing wrong?
>>> Thanks,
>>> -Scott
>
|
|
0
|
|
|
|
Reply
|
Francois
|
3/22/2011 9:13:41 AM
|
|
|
3 Replies
285 Views
(page loaded in 0.478 seconds)
Similiar Articles: comp.soft-sys.math.scilabModulo function in Scicos? 3 147 (3/17/2011 12:05:34 AM) I'm trying to set up a block in scicos that implements the modulo function. Using the expression block and ... sin,cos math functions in assembly - comp.lang.asm.x86Modulo function in Scicos? - comp.soft-sys.math.scilab... wrote: >> As the help page of the EXPRESSION block indicates, only the following >> functions are supported ... Modulo_Count - Modulo counter - Scilab Online Helpobject discrete-time state: no. name of computational function: modulo ... Computational function. SCI/modules/scicos_blocks/src/c/modulo_count.c (Type 4) Scicos DocumentationBatch functions. scicos - Block diagram editor and GUI for the hybrid simulator ... Modulo_Count - Modulo counter PULSE_SC - Pulse Generator RAMP - Ramp RAND_m - Random ... 7/18/2012 10:11:54 AM
|