From sgougeon at free.fr Tue May 1 13:54:32 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 01 May 2012 13:54:32 +0200 Subject: [scilab-Users] Strange poly() results In-Reply-To: <1335797314324-3950900.post@n3.nabble.com> References: <1335797314324-3950900.post@n3.nabble.com> Message-ID: <4F9FCEF8.40703@free.fr> Le 30/04/2012 16:48, Kevin McCoy a ?crit : > When I run the following: > > clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) I get ... > > ans = > > 1. + 0.4330127i 1. 1. > > But I'm expecting ... > > ans = > > 1. 1. 1. > With scilab-master-1333574844 (5/4/2012) / win XP 32 bits, it is OK: Scilab answers 1. 1. 1. From serge.steer at inria.fr Tue May 1 21:24:48 2012 From: serge.steer at inria.fr (Serge Steer) Date: Tue, 1 May 2012 21:24:48 +0200 (CEST) Subject: [scilab-Users] Strange poly() results In-Reply-To: <1335796764859-3950884.post@n3.nabble.com> Message-ID: <935771052.243297.1335900288863.JavaMail.root@zmbs3.inria.fr> PLease can you provide more information (Operating system, Scilab version,...) On my Linux box with Scilab-5.3.3 I got -->clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) ans = 1. 1. 1. Serge Steer INRIA ----- Mail original ----- > De: "Kevin McCoy" > ?: users at lists.scilab.org > Envoy?: Lundi 30 Avril 2012 16:39:24 > Objet: [scilab-Users] Strange poly() results > When I run the following: > > clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) I get ... > > ans = > > 1. + 0.4330127i 1. 1. > > But I'm expecting ... > > ans = > > 1. 1. 1. > > Am I doing something wrong? The documentation says that roots() and > poly() > are inverse functions, that is, if I construct a polynomial (using > poly(pr,"x","r"), where pr are the roots of a polynomial), then I > should get > back that original polynomial. > > Here are some other outputs: > > clean(coeff(poly(roots(poly([1 1],"x","c")),"x","r"))) --> 1. 1. > [correct] > > clean(coeff(poly(roots(poly([1 0 1],"x","c")),"x","r"))) --> 1. 0. 1. > [correct] > > clean(coeff(poly(roots(poly([1 0 0 1],"x","c")),"x","r"))) --> 0.625 + > 0.2165064i 0.4330127i 0 1. [incorrect] > > clean(coeff(poly(roots(poly([1 1 2],"x","c")),"x","r"))) --> 0.5 + > 0.1653595i 0.5 1. [incorrect] > > What am I doing wrong? > > Thanks! > > > > > > -- > View this message in context: > http://mailinglists.scilab.org/Strange-poly-results-tp3950884.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ From sahallacy at hotmail.com Wed May 2 00:19:31 2012 From: sahallacy at hotmail.com (steven hallacy) Date: Tue, 1 May 2012 17:19:31 -0500 Subject: [scilab-Users] Strange poly() results In-Reply-To: <935771052.243297.1335900288863.JavaMail.root@zmbs3.inria.fr> References: <1335796764859-3950884.post@n3.nabble.com>,<935771052.243297.1335900288863.JavaMail.root@zmbs3.inria.fr> Message-ID: Hello, I'm getting the same results as Kevin. I am running scilab-5.3.3_x64 on windows 7. -->clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) ans = 1. + 0.4330127i 1. 1. Stephen > Date: Tue, 1 May 2012 21:24:48 +0200 > From: serge.steer at inria.fr > To: users at lists.scilab.org > Subject: Re: [scilab-Users] Strange poly() results > > PLease can you provide more information (Operating system, Scilab version,...) > > On my Linux box with Scilab-5.3.3 I got > -->clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) > ans = > > 1. 1. 1. > Serge Steer > INRIA > > ----- Mail original ----- > > De: "Kevin McCoy" > > ?: users at lists.scilab.org > > Envoy?: Lundi 30 Avril 2012 16:39:24 > > Objet: [scilab-Users] Strange poly() results > > When I run the following: > > > > clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) I get ... > > > > ans = > > > > 1. + 0.4330127i 1. 1. > > > > But I'm expecting ... > > > > ans = > > > > 1. 1. 1. > > > > Am I doing something wrong? The documentation says that roots() and > > poly() > > are inverse functions, that is, if I construct a polynomial (using > > poly(pr,"x","r"), where pr are the roots of a polynomial), then I > > should get > > back that original polynomial. > > > > Here are some other outputs: > > > > clean(coeff(poly(roots(poly([1 1],"x","c")),"x","r"))) --> 1. 1. > > [correct] > > > > clean(coeff(poly(roots(poly([1 0 1],"x","c")),"x","r"))) --> 1. 0. 1. > > [correct] > > > > clean(coeff(poly(roots(poly([1 0 0 1],"x","c")),"x","r"))) --> 0.625 + > > 0.2165064i 0.4330127i 0 1. [incorrect] > > > > clean(coeff(poly(roots(poly([1 1 2],"x","c")),"x","r"))) --> 0.5 + > > 0.1653595i 0.5 1. [incorrect] > > > > What am I doing wrong? > > > > Thanks! > > > > > > > > > > > > -- > > View this message in context: > > http://mailinglists.scilab.org/Strange-poly-results-tp3950884.html > > Sent from the Scilab users - Mailing Lists Archives mailing list > > archive at Nabble.com. > > > > -- > > To unsubscribe from this mailing-list, please send an empty mail to > > users-unsubscribe at lists.scilab.org > > To check the archives of this mailing list, see > > http://mailinglists.scilab.org/ > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sahallacy at hotmail.com Wed May 2 00:25:07 2012 From: sahallacy at hotmail.com (steven hallacy) Date: Tue, 1 May 2012 17:25:07 -0500 Subject: [scilab-Users] Strange poly() results In-Reply-To: References: <1335796764859-3950884.post@n3.nabble.com>,<935771052.243297.1335900288863.JavaMail.root@zmbs3.inria.fr>, Message-ID: Not sure if it helps, but here's some more information about my setup: -->[version, opts] = getversion() opts = !ICC x64 tk modelicac atlas release Jul 20 2011 11:01:29 ! version = scilab-5.3.3 Stephen From: sahallacy at hotmail.com To: users at lists.scilab.org Date: Tue, 1 May 2012 17:19:31 -0500 Subject: RE: [scilab-Users] Strange poly() results Hello, I'm getting the same results as Kevin. I am running scilab-5.3.3_x64 on windows 7. -->clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) ans = 1. + 0.4330127i 1. 1. Stephen > Date: Tue, 1 May 2012 21:24:48 +0200 > From: serge.steer at inria.fr > To: users at lists.scilab.org > Subject: Re: [scilab-Users] Strange poly() results > > PLease can you provide more information (Operating system, Scilab version,...) > > On my Linux box with Scilab-5.3.3 I got > -->clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) > ans = > > 1. 1. 1. > Serge Steer > INRIA > > ----- Mail original ----- > > De: "Kevin McCoy" > > ?: users at lists.scilab.org > > Envoy?: Lundi 30 Avril 2012 16:39:24 > > Objet: [scilab-Users] Strange poly() results > > When I run the following: > > > > clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) I get ... > > > > ans = > > > > 1. + 0.4330127i 1. 1. > > > > But I'm expecting ... > > > > ans = > > > > 1. 1. 1. > > > > Am I doing something wrong? The documentation says that roots() and > > poly() > > are inverse functions, that is, if I construct a polynomial (using > > poly(pr,"x","r"), where pr are the roots of a polynomial), then I > > should get > > back that original polynomial. > > > > Here are some other outputs: > > > > clean(coeff(poly(roots(poly([1 1],"x","c")),"x","r"))) --> 1. 1. > > [correct] > > > > clean(coeff(poly(roots(poly([1 0 1],"x","c")),"x","r"))) --> 1. 0. 1. > > [correct] > > > > clean(coeff(poly(roots(poly([1 0 0 1],"x","c")),"x","r"))) --> 0.625 + > > 0.2165064i 0.4330127i 0 1. [incorrect] > > > > clean(coeff(poly(roots(poly([1 1 2],"x","c")),"x","r"))) --> 0.5 + > > 0.1653595i 0.5 1. [incorrect] > > > > What am I doing wrong? > > > > Thanks! > > > > > > > > > > > > -- > > View this message in context: > > http://mailinglists.scilab.org/Strange-poly-results-tp3950884.html > > Sent from the Scilab users - Mailing Lists Archives mailing list > > archive at Nabble.com. > > > > -- > > To unsubscribe from this mailing-list, please send an empty mail to > > users-unsubscribe at lists.scilab.org > > To check the archives of this mailing list, see > > http://mailinglists.scilab.org/ > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Wed May 2 06:14:01 2012 From: allan.cornet at scilab.org (allan.cornet at scilab.org) Date: Wed, 02 May 2012 06:14:01 +0200 Subject: [scilab-Users] Strange poly() results In-Reply-To: References: <1335796764859-3950884.post@n3.nabble.com>,<935771052.243297.1335900288863.JavaMail.root@zmbs3.inria.fr>, Message-ID: <33a5ffa7e9485f0947649e543b09a79d@scilab.org> Hi, I open a bug report @ http://bugzilla.scilab.org/show_bug.cgi?id=11064 This trouble is fixed in current master: http://www.scilab.org/fr/communities/developer_zone/scilab_versions/development_version/nightly_builds/branch_master Allan On Tue, 1 May 2012 17:25:07 -0500, steven hallacy wrote: > Not sure if it helps, but here's some more information about my > setup: > > -->[version, opts] = getversion() > opts = > > !ICC x64 tk modelicac atlas release Jul 20 2011 11:01:29 ! > version = > > scilab-5.3.3 > > Stephen > > ------------------------- > From: sahallacy at hotmail.com > To: users at lists.scilab.org > Date: Tue, 1 May 2012 17:19:31 -0500 > Subject: RE: [scilab-Users] Strange poly() results > > Hello, > > I'm getting the same results as Kevin. I am running scilab-5.3.3_x64 > on windows 7. > > -->clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) > ans = > > 1. + 0.4330127i 1. 1. > > Stephen > >> Date: Tue, 1 May 2012 21:24:48 +0200 >> From: serge.steer at inria.fr >> To: users at lists.scilab.org >> Subject: Re: [scilab-Users] Strange poly() results >> >> PLease can you provide more information (Operating system, Scilab > version,...) >> >> On my Linux box with Scilab-5.3.3 I got >> -->clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) >> ans = >> >> 1. 1. 1. >> Serge Steer >> INRIA >> >> ----- Mail original ----- >> > De: "Kevin McCoy" >> > ?: users at lists.scilab.org >> > Envoy?: Lundi 30 Avril 2012 16:39:24 >> > Objet: [scilab-Users] Strange poly() results >> > When I run the following: >> > >> > clean(coeff(poly(roots(poly([1 1 1],"x","c")),"x","r"))) I get ... >> > >> > ans = >> > >> > 1. + 0.4330127i 1. 1. >> > >> > But I'm expecting ... >> > >> > ans = >> > >> > 1. 1. 1. >> > >> > Am I doing something wrong? The documentation says that roots() > and >> > poly() >> > are inverse functions, that is, if I construct a polynomial (using >> > poly(pr,"x","r"), where pr are the roots of a polynomial), then I >> > should get >> > back that original polynomial. >> > >> > Here are some other outputs: >> > >> > clean(coeff(poly(roots(poly([1 1],"x","c")),"x","r"))) --> 1. 1. >> > [correct] >> > >> > clean(coeff(poly(roots(poly([1 0 1],"x","c")),"x","r"))) --> 1. 0. > 1. >> > [correct] >> > >> > clean(coeff(poly(roots(poly([1 0 0 1],"x","c")),"x","r"))) --> > 0.625 + >> > 0.2165064i 0.4330127i 0 1. [incorrect] >> > >> > clean(coeff(poly(roots(poly([1 1 2],"x","c")),"x","r"))) --> 0.5 + >> > 0.1653595i 0.5 1. [incorrect] >> > >> > What am I doing wrong? >> > >> > Thanks! >> > >> > >> > >> > >> > >> > -- >> > View this message in context: >> > http://mailinglists.scilab.org/Strange-poly-results-tp3950884.html >> > Sent from the Scilab users - Mailing Lists Archives mailing list >> > archive at Nabble.com. >> > >> > -- >> > To unsubscribe from this mailing-list, please send an empty mail > to >> > users-unsubscribe at lists.scilab.org >> > To check the archives of this mailing list, see >> > http://mailinglists.scilab.org/ >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ >> From meni.tima at hotmail.com Wed May 2 16:52:09 2012 From: meni.tima at hotmail.com (Tima) Date: Wed, 2 May 2012 07:52:09 -0700 (PDT) Subject: Auto detection of SCI failed in ECLIPSE ? Message-ID: <1335970329538-3955208.post@n3.nabble.com> Hi, I am trying to integrate Scilab into Eclipse and work with Javasci engine. So, I added the *org.scilab.modules.javasci.jar *and *org.scilab.modules.types.jar* into Eclipse, but when I compile I see this error / An exception occurred: Auto detection of SCI failed. Could not retrieve the variable SCI. / What's wrong? Can you help me? Thanks, Regards, Tima -- View this message in context: http://mailinglists.scilab.org/Auto-detection-of-SCI-failed-in-ECLIPSE-tp3955208.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From denis.crete at thalesgroup.com Thu May 3 14:49:19 2012 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Thu, 3 May 2012 14:49:19 +0200 Subject: Group definition in regular expression Message-ID: <9392_1336049361_4FA27ED1_9392_2782_1_908CBC9017354841B2F32BBEC70A05A101C379B79BE2@THSONEA01CMS01P.one.grp> Hello, I am trying to use strsubst('E+31E+2',searchStr,replaceStr, 'r']) in order to insert a white space (or TAB delimiter) between the exponent ('3' in this example, but any digit in general) and the mantissa ('1' in this case, but any digit in general) of the first argument (a long series of numbers in scientific format). I did not figure out what replaceStr should look like to refer to groups - defined by patterns in parenthesis in searchStr. In this case, this would be used to defined a group with the exponent, with proper sign and magnitude between the symbol E and the inserted delimiter. Thank you for any help or documentation on this topic. Denis Cr?t? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Thu May 3 21:06:11 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 03 May 2012 21:06:11 +0200 Subject: [scilab-Users] Group definition in regular expression In-Reply-To: <9392_1336049361_4FA27ED1_9392_2782_1_908CBC9017354841B2F32BBEC70A05A101C379B79BE2@THSONEA01CMS01P.one.grp> References: <9392_1336049361_4FA27ED1_9392_2782_1_908CBC9017354841B2F32BBEC70A05A101C379B79BE2@THSONEA01CMS01P.one.grp> Message-ID: <4FA2D723.1040308@free.fr> Hello, Le 03/05/2012 14:49, CRETE Denis a ?crit : > > Hello, > > I am trying to use strsubst('E+31E+2',searchStr,replaceStr, 'r']) in order to insert a white space (or TAB delimiter) between the exponent ('3' in this example, but any digit in general) and the mantissa ('1' in this case, but any digit in general) of the first argument (a long series of numbers in scientific format). I did not figure out what replaceStr should look like to refer to groups -- defined by patterns in parenthesis in searchStr. In this case, this would be used to defined a group with the exponent, with proper sign and magnitude between the symbol E and the inserted delimiter. > Thank you for any help or documentation on this topic. > > Denis Cr?t? > With strsubst(), the detection works, but not the substitution (nor the repetition): -->strsubst('E+31E+2',"/(\-{0,1}[0-9](?:\.[0-9]*)*E)/"," \\1", 'r') ans = E+3 \\1+2 You can do it in the following way: myString = "E+31E+2-4.2E-3" [v,s] = strsplit(myString,"/(\-{0,1}[0-9](?:\.[0-9]*)*E)/"); s=[ '' ; " "+s]; strcat(s+v) giving -->myString = "E+31E+2-4.2E-3" myString = E+31E+2-4.2E-3 -->[v,s] = strsplit(myString,"/(\-{0,1}[0-9](?:\.[0-9]*)*E)/"); -->s=[ '' ; " "+s]; -->strcat(s+v) ans = E+3 1E+2 -4.2E-3 For PCRE, a good pointer is: http://www.php.net/manual/fr/reference.pcre.pattern.syntax.php Regards Samuel Gougeon -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.crete at thalesgroup.com Thu May 3 21:22:04 2012 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Thu, 3 May 2012 21:22:04 +0200 Subject: [scilab-Users] Group definition in regular expression In-Reply-To: <4FA2D723.1040308@free.fr> References: <9392_1336049361_4FA27ED1_9392_2782_1_908CBC9017354841B2F32BBEC70A05A101C379B79BE2@THSONEA01CMS01P.one.grp> <4FA2D723.1040308@free.fr> Message-ID: <15187_1336072926_4FA2DADE_15187_5462_1_908CBC9017354841B2F32BBEC70A05A101C379B7A53C@THSONEA01CMS01P.one.grp> Thank you so much, Samuel ! Denis De : Samuel Gougeon [mailto:sgougeon at free.fr] Envoy? : jeudi 3 mai 2012 21:06 ? : users at lists.scilab.org Objet : Re: [scilab-Users] Group definition in regular expression Hello, Le 03/05/2012 14:49, CRETE Denis a ?crit : Hello, I am trying to use strsubst('E+31E+2',searchStr,replaceStr, 'r']) in order to insert a white space (or TAB delimiter) between the exponent ('3' in this example, but any digit in general) and the mantissa ('1' in this case, but any digit in general) of the first argument (a long series of numbers in scientific format). I did not figure out what replaceStr should look like to refer to groups - defined by patterns in parenthesis in searchStr. In this case, this would be used to defined a group with the exponent, with proper sign and magnitude between the symbol E and the inserted delimiter. Thank you for any help or documentation on this topic. Denis Cr?t? With strsubst(), the detection works, but not the substitution (nor the repetition): -->strsubst('E+31E+2',"/(\-{0,1}[0-9](?:\.[0-9]*)*E)/"," \\1", 'r') ans = E+3 \\1+2 You can do it in the following way: myString = "E+31E+2-4.2E-3" [v,s] = strsplit(myString,"/(\-{0,1}[0-9](?:\.[0-9]*)*E)/"); s=[ '' ; " "+s]; strcat(s+v) giving -->myString = "E+31E+2-4.2E-3" myString = E+31E+2-4.2E-3 -->[v,s] = strsplit(myString,"/(\-{0,1}[0-9](?:\.[0-9]*)*E)/"); -->s=[ '' ; " "+s]; -->strcat(s+v) ans = E+3 1E+2 -4.2E-3 For PCRE, a good pointer is: http://www.php.net/manual/fr/reference.pcre.pattern.syntax.php Regards Samuel Gougeon -------------- next part -------------- An HTML attachment was scrubbed... URL: From meni.tima at hotmail.com Fri May 4 11:23:43 2012 From: meni.tima at hotmail.com (Tima) Date: Fri, 4 May 2012 02:23:43 -0700 (PDT) Subject: Scilab in Eclipse Message-ID: <1336123423816-3961649.post@n3.nabble.com> Hello, Does anybody knows how to integrate Scilab in Eclipse? I defined as an environment variable the SCI=/scilab/share/scilab and I added to the PATH :/scilab/bin Have I to add something else in the configuration? Can you help me please, Regards, Tima -- View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Fri May 4 12:39:48 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Fri, 04 May 2012 12:39:48 +0200 Subject: Piping output of a program to a scilab script Message-ID: <4FA3B1F4.6010709@limsi.fr> Hello, I would like to know if it's possible to use scilab in a standard UNIX pipeline. I have some programs that output their results to stdout and I would like to read it from scilab. I know I can launch scilab in batch mode with "-nb -nwni" and execute a command with-e. I have tried to pass "exec(myscript.sci); myscript(); quit;" to scilab where myscript contains something like this: while ~meof(%io(1)) S = mgetl(%io(1)); // Process line end fprintf(0, 'Nothing more to read\n'); Unfortunately, scilab immediately prints "Nothing more to read" and quits. Am I doing something wrong? Any idea? Mathieu P.S.: It's easy to check that meof(%io(1)) always returns 1. I guess this is because standard input refers to the scilab command line (which waits for input) and not to the process standard input. From mathieu.dubois at limsi.fr Fri May 4 17:00:48 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Fri, 04 May 2012 17:00:48 +0200 Subject: [scilab-Users] Scilab in Eclipse In-Reply-To: <1336123423816-3961649.post@n3.nabble.com> References: <1336123423816-3961649.post@n3.nabble.com> Message-ID: <4FA3EF20.20601@limsi.fr> Hello, I'm neither a Java or Eclispe user but did you read the help page called "Compile and run with javasci v2" (open help and visit the Java Interface chapter)? HTH, Mathieu Le 04/05/2012 11:23, Tima a ?crit : > Hello, > > Does anybody knows how to integrate Scilab in Eclipse? > I defined as an environment variable the SCI=/scilab/share/scilab > and I added to the PATH :/scilab/bin > > Have I to add something else in the configuration? > Can you help me please, > Regards, > Tima > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From mathieu.dubois at limsi.fr Fri May 4 17:24:58 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Fri, 04 May 2012 17:24:58 +0200 Subject: [scilab-Users] Scilab in Eclipse In-Reply-To: <4FA3EF20.20601@limsi.fr> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> Message-ID: <4FA3F4CA.8070206@limsi.fr> FYI I successfully reproduced the example given in the javasci help page. To do so I created an Eclipse project, copied the code (Example1 class), added org.scilab.modules.javasci.jar and org.scilab.modules.types.jar in the java build path setting (I think you did this). Then I got errors similar to yours. According to the help page I mentioned, I exported 2 shell variables: export SCI=/usr/share/scilab export LD_LIBRARY_PATH=/usr/lib/scilab/ restarted Eclispe, and voil?, it works! If I can give you an advice, try to set LD_LIBRARY_PATH. Also your path seems strange (/scilab/...). Did you install scilab from source? HTH, Mathieu Le 04/05/2012 17:00, Mathieu Dubois a ?crit : > Hello, > > I'm neither a Java or Eclispe user but did you read the help page called > "Compile and run with javasci v2" (open help and visit the Java > Interface chapter)? > > HTH, > Mathieu > > Le 04/05/2012 11:23, Tima a ?crit : >> Hello, >> >> Does anybody knows how to integrate Scilab in Eclipse? >> I defined as an environment variable the SCI=/scilab/share/scilab >> and I added to the PATH :/scilab/bin >> >> Have I to add something else in the configuration? >> Can you help me please, >> Regards, >> Tima >> >> -- >> View this message in context: >> http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649.html >> Sent from the Scilab users - Mailing Lists Archives mailing list >> archive at Nabble.com. >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ >> > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From sahallacy at hotmail.com Sat May 5 04:44:06 2012 From: sahallacy at hotmail.com (steven hallacy) Date: Fri, 4 May 2012 21:44:06 -0500 Subject: Scilab/Eclipse Plugin Message-ID: I'm interested in the Scilab/Eclipse Plugin located at http://forge.scilab.org/index.php/p/scilab-eclipse/. How do I install it in Eclipse? Stephen -------------- next part -------------- An HTML attachment was scrubbed... URL: From luongmariehanh at yahoo.fr Sun May 6 03:17:54 2012 From: luongmariehanh at yahoo.fr (congbinh) Date: Sat, 5 May 2012 18:17:54 -0700 (PDT) Subject: Problem with addframe function in SIVP Message-ID: <1336267074292-3965620.post@n3.nabble.com> xvidcodec used for SIVP Hello, When creating a video file with avifile, I use "addframe" function. While avifile function works well, the "addframe" function doesnot work and gives the following error message: !--error 999 addframe: Write frame error, please check input image size and depth. I have used the following example: im = imread('lena.png'); n = avifile('lena.avi', [200;200], 30); for ii=1:300 ims = im(200:399, ii:ii+199, :); addframe(n, ims); end aviclose(n); May you help me how to debug in order to create a video from different frames ? Thank you advance -- View this message in context: http://mailinglists.scilab.org/Problem-with-addframe-function-in-SIVP-tp3965620.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From thalesjacques at gmail.com Sun May 6 22:14:04 2012 From: thalesjacques at gmail.com (Thales Jacques) Date: Sun, 6 May 2012 13:14:04 -0700 (PDT) Subject: Linking Delphi DLL with Scilab Message-ID: <1336335244546-3967008.post@n3.nabble.com> Hi all, I've been trying without success to link a DLL built in Delphi with Scilab. I have followed several posts: http://groups.google.com/group/comp.soft-sys.math.scilab/browse_thread/thread/2fdb0083d9b6f8ad //http://audition.ens.fr/brette/coursneurones/ScilabMaterial/ //http://www.snv.jussieu.fr/~wensgen/Doc/scilab-2.6/Intro-html/intro-html006.html I am trying to use the following command: link('C:\RkRechDll.dll','getVersion','c'); the output is link: The file C:\RkRechDll.dll does not exist. !--error 236 link: The shared archive was not loaded: Unknown Error I know the DLL exists and the error code does not help... The DLL call other DLL's located in the same folder and are set to be used with "stdcall". The DLL also can be used with a COM Interface (but i actually dont want to do that). Any help with ideas or examples would be appreciated. Thanks, T Jacques -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jml at unice.fr Mon May 7 15:27:48 2012 From: jml at unice.fr (jml) Date: Mon, 7 May 2012 06:27:48 -0700 (PDT) Subject: Exporting graphics: black square in vector formats In-Reply-To: <1334081226417-3900454.post@n3.nabble.com> References: <1334081226417-3900454.post@n3.nabble.com> Message-ID: <1336397268962-3968531.post@n3.nabble.com> Hello, i've the same problem: black square in lower left corner with any vector graphics export. Have you found a solution ? For me Linux mint 12 (aka ubuntu 11.10, same) I installed separately the libs in : /usr/local/MesaOK: total 4 drwxr-xr-x 2 root root 4096 2012-04-13 09:40 lib /usr/local/MesaOK/lib: total 3564 lrwxrwxrwx 1 root root 19 2012-04-13 09:39 libGL.so.1 -> libGL.so.1.5.071100 -rw-r--r-- 1 root root 3648248 2011-08-10 10:27 libGL.so.1.5.071100 and modified the scilab script, adding this line at the beginning, to solve the freezing problem: export LD_LIBRARY_PATH=/usr/local/MesaOK/lib but still same fu.... black square !!! Regards -- View this message in context: http://mailinglists.scilab.org/Exporting-graphics-black-square-in-vector-formats-tp3900454p3968531.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Tue May 8 12:08:35 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Tue, 08 May 2012 12:08:35 +0200 Subject: [scilab-Users] Linking Delphi DLL with Scilab In-Reply-To: <1336335244546-3967008.post@n3.nabble.com> References: <1336335244546-3967008.post@n3.nabble.com> Message-ID: <4FA8F0A3.4000301@limsi.fr> Hello, Le 06/05/2012 22:14, Thales Jacques a ?crit : > Hi all, > > I've been trying without success to link a DLL built in Delphi with Scilab. > I have followed several posts: > http://groups.google.com/group/comp.soft-sys.math.scilab/browse_thread/thread/2fdb0083d9b6f8ad > //http://audition.ens.fr/brette/coursneurones/ScilabMaterial/ > //http://www.snv.jussieu.fr/~wensgen/Doc/scilab-2.6/Intro-html/intro-html006.html > > I am trying to use the following command: > > link('C:\RkRechDll.dll','getVersion','c'); > > the output is > > link: The file C:\RkRechDll.dll does not exist. > > !--error 236 This may seem stupid but I don't think that this is a correct instruction... which is why scilab can't find the file. You're supposed to replace by the real path... Sorry if my answer is stupid. > link: The shared archive was not loaded: Unknown Error > > I know the DLL exists and the error code does not help... > > The DLL call other DLL's located in the same folder and are set to be used > with "stdcall". The DLL also can be used with a COM Interface (but i > actually dont want to do that). > > Any help with ideas or examples would be appreciated. > > Thanks, > > T Jacques > > -- > View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From paul.carrico at free.fr Tue May 8 13:23:53 2012 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 8 May 2012 13:23:53 +0200 (CEST) Subject: csv_textscan trouble In-Reply-To: <11825228.27937392.1336476062788.JavaMail.root@zimbra5-e1.priv.proxad.net> Message-ID: <183741714.27940948.1336476233806.JavaMail.root@zimbra5-e1.priv.proxad.net> Dear All, I'm simply using the CSV READ/WRITE macro to read a basic text file ... I've the following message after using cvstextscan : Am I doing a mistake ? Regards Paul PS : see the attchment for the files ####################################################################################" DATA1 = csv_textscan(M1," ",".") !--error 42 Oups. A fatal error has been detected by Scilab. Your instance will probably crash soon. Please report a bug on http://bugzilla.scilab.org/ with the following information: [cacahuette:04063] Signal: Abandon (6) [cacahuette:04063] Signal code: (-6) Call stack: 1: 0x7fa18a439d95 (/lib64/libc.so.6) 2: 0x7fa18a43b2ab (/lib64/libc.so.6) 3: 0x7fa18a47599e <+0x7099e> (/lib64/libc.so.6) 4: 0x7fa18a47b6d6 <+0x766d6> (/lib64/libc.so.6) 5: 0x7fa12bdfc295 <+0x5295> (/home/paul/scilab-5.3.3/share/scilab/contrib/csv_readwrite/0.4-1/sci_gateway/c//../../src/c/libcsv_readwrite.so) 6: 0x7fa12bdfba71 <+0x4a71> (/home/paul/scilab-5.3.3/share/scilab/contrib/csv_readwrite/0.4-1/sci_gateway/c//../../src/c/libcsv_readwrite.so) 7: 0x7fa12bdfb83f (/home/paul/scilab-5.3.3/share/scilab/contrib/csv_readwrite/0.4-1/sci_gateway/c//../../src/c/libcsv_readwrite.so) 8: 0x7fa12bbf1363 (/home/paul/scilab-5.3.3/share/scilab/contrib/csv_readwrite/0.4-1/sci_gateway/c//libcsvreadwrite_c.so) 9: 0x7fa192df4338 <+0x9338> (/home/paul/scilab-5.3.3/lib/scilab/libmx.so.5) 10: 0x7fa12bbf414a (/home/paul/scilab-5.3.3/share/scilab/contrib/csv_readwrite/0.4-1/sci_gateway/c//libcsvreadwrite_c.so) 11: 0x7fa1957dba58 (/home/paul/scilab-5.3.3/lib/scilab/libscicore.so.5) 12: 0x7fa1957e82bc (/home/paul/scilab-5.3.3/lib/scilab/libscicore.so.5) 13: 0x7fa1957d5eff (/home/paul/scilab-5.3.3/lib/scilab/libscicore.so.5) 14: 0x401691 (scilab-bin) 15: 0x7fa18a42623d <__libc_start_main+0xed> (/lib64/libc.so.6) 16: 0x401259 < > (scilab-bin) End of stack at line 6 of exec file called by : n-Gauge-Signals/trouble/read.sce', -1 !--error 999 Aborting current computation -------------- next part -------------- A non-text attachment was scrubbed... Name: scilab_trouble.tar.bz2 Type: application/x-bzip-compressed-tar Size: 13278 bytes Desc: not available URL: From allan.cornet at scilab.org Tue May 8 14:13:51 2012 From: allan.cornet at scilab.org (allan.cornet at scilab.org) Date: Tue, 08 May 2012 14:13:51 +0200 Subject: [scilab-Users] =?UTF-8?Q?csv=5Ftextscan=20trouble?= In-Reply-To: <183741714.27940948.1336476233806.JavaMail.root@zimbra5-e1.priv.proxad.net> References: <183741714.27940948.1336476233806.JavaMail.root@zimbra5-e1.priv.proxad.net> Message-ID: <99176aece79074b41871d29848de5d5a@scilab.org> Hi, Thanks to create a ticket here: http://forge.scilab.org/index.php/p/csv-readwrite/issues/ I will try to fix it quickly Allan On Tue, 8 May 2012 13:23:53 +0200 (CEST), paul.carrico at free.fr wrote: > Dear All, > > I'm simply using the CSV READ/WRITE macro to read a basic text file > ... I've the following message after using cvstextscan : Am I doing a > mistake ? > > Regards > > Paul > From thalesjacques at gmail.com Tue May 8 14:34:06 2012 From: thalesjacques at gmail.com (Thales Jacques) Date: Tue, 8 May 2012 05:34:06 -0700 (PDT) Subject: Linking Delphi DLL with Scilab In-Reply-To: <4FA8F0A3.4000301@limsi.fr> References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> Message-ID: <1336480446910-3971194.post@n3.nabble.com> Hey Mathieu, no problem. It is a perfectly valid answer... I replaced the actual path for because it was long and I wanted to make the message "cleaner" to read so you could focus on the instruction itself and not the long path string. I have the real path in the code. Do you have any other ideas on how to do this or why I get an error or what the error actually means? Thanks, Thales. -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3971194.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jasper at amsterchem.com Tue May 8 14:38:11 2012 From: jasper at amsterchem.com (jasper van baten) Date: Tue, 08 May 2012 14:38:11 +0200 Subject: [scilab-Users] Re: Linking Delphi DLL with Scilab In-Reply-To: <1336480446910-3971194.post@n3.nabble.com> References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> Message-ID: <4FA913B3.6060408@amsterchem.com> Dear Thales, Check the dependencies on the DLL you are trying to load, e.g. with the Dependency Walker; see if the dependencies are in the path. Alternatively, try to load the DLL using another application (e.g. RegSvr32.exe should tell you something like: the DLL was loaded but the registration entry point was not found, presuming it is not a COM dll). If dependencies are not there, or if the DLL fails to load for some other reason (e.g. because DLLMain returns false), you may expect an error similar to what you report, Best wishes, Jasper. On 5/8/2012 14:34, Thales Jacques wrote: > Hey Mathieu, no problem. It is a perfectly valid answer... > I replaced the actual path for because it was long and I wanted to > make the message "cleaner" to read so you could focus on the instruction > itself and not the long path string. > I have the real path in the code. > > Do you have any other ideas on how to do this or why I get an error or what > the error actually means? > > Thanks, > > Thales. > > -- > View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3971194.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Tue May 8 15:47:40 2012 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 8 May 2012 15:47:40 +0200 (CEST) Subject: [scilab-Users] csv_textscan trouble In-Reply-To: <99176aece79074b41871d29848de5d5a@scilab.org> Message-ID: <576349855.28133266.1336484860930.JavaMail.root@zimbra5-e1.priv.proxad.net> I can do it, but before, is it a bug or is it an input mistake ? Paul ----- Mail original ----- De: "allan cornet" ?: users at lists.scilab.org Envoy?: Mardi 8 Mai 2012 14:13:51 Objet: Re: [scilab-Users] csv_textscan trouble Hi, Thanks to create a ticket here: http://forge.scilab.org/index.php/p/csv-readwrite/issues/ I will try to fix it quickly Allan On Tue, 8 May 2012 13:23:53 +0200 (CEST), paul.carrico at free.fr wrote: > Dear All, > > I'm simply using the CSV READ/WRITE macro to read a basic text file > ... I've the following message after using cvstextscan : Am I doing a > mistake ? > > Regards > > Paul > -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From allan.cornet at scilab.org Tue May 8 15:54:33 2012 From: allan.cornet at scilab.org (allan.cornet at scilab.org) Date: Tue, 08 May 2012 15:54:33 +0200 Subject: [scilab-Users] =?UTF-8?Q?csv=5Ftextscan=20trouble?= In-Reply-To: <576349855.28133266.1336484860930.JavaMail.root@zimbra5-e1.priv.proxad.net> References: <576349855.28133266.1336484860930.JavaMail.root@zimbra5-e1.priv.proxad.net> Message-ID: <70fb9f5bea8ad322ad68d31501193038@scilab.org> Hi, A crash with a backtrace is always a bug. If you do a mistake, an explicit error message must be added Thanks Allan On Tue, 8 May 2012 15:47:40 +0200 (CEST), paul.carrico at free.fr wrote: > I can do it, but before, is it a bug or is it an input mistake ? > > Paul > > ----- Mail original ----- > De: "allan cornet" > ?: users at lists.scilab.org > Envoy?: Mardi 8 Mai 2012 14:13:51 > Objet: Re: [scilab-Users] csv_textscan trouble > > Hi, > > Thanks to create a ticket here: > http://forge.scilab.org/index.php/p/csv-readwrite/issues/ > > I will try to fix it quickly > > Allan > > > On Tue, 8 May 2012 13:23:53 +0200 (CEST), paul.carrico at free.fr wrote: >> Dear All, >> >> I'm simply using the CSV READ/WRITE macro to read a basic text file >> ... I've the following message after using cvstextscan : Am I doing >> a >> mistake ? >> >> Regards >> >> Paul >> > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ From paul.carrico at free.fr Tue May 8 16:30:38 2012 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 8 May 2012 16:30:38 +0200 (CEST) Subject: [scilab-Users] csv_textscan trouble In-Reply-To: <70fb9f5bea8ad322ad68d31501193038@scilab.org> Message-ID: <1541434209.28182483.1336487438825.JavaMail.root@zimbra5-e1.priv.proxad.net> the ticket has been created .... ----- Mail original ----- De: "allan cornet" ?: users at lists.scilab.org Envoy?: Mardi 8 Mai 2012 15:54:33 Objet: Re: [scilab-Users] csv_textscan trouble Hi, A crash with a backtrace is always a bug. If you do a mistake, an explicit error message must be added Thanks Allan On Tue, 8 May 2012 15:47:40 +0200 (CEST), paul.carrico at free.fr wrote: > I can do it, but before, is it a bug or is it an input mistake ? > > Paul > > ----- Mail original ----- > De: "allan cornet" > ?: users at lists.scilab.org > Envoy?: Mardi 8 Mai 2012 14:13:51 > Objet: Re: [scilab-Users] csv_textscan trouble > > Hi, > > Thanks to create a ticket here: > http://forge.scilab.org/index.php/p/csv-readwrite/issues/ > > I will try to fix it quickly > > Allan > > > On Tue, 8 May 2012 13:23:53 +0200 (CEST), paul.carrico at free.fr wrote: >> Dear All, >> >> I'm simply using the CSV READ/WRITE macro to read a basic text file >> ... I've the following message after using cvstextscan : Am I doing >> a >> mistake ? >> >> Regards >> >> Paul >> > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From thalesjacques at gmail.com Tue May 8 16:50:09 2012 From: thalesjacques at gmail.com (Thales Jacques) Date: Tue, 8 May 2012 07:50:09 -0700 (PDT) Subject: Linking Delphi DLL with Scilab In-Reply-To: <4FA913B3.6060408@amsterchem.com> References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> Message-ID: <1336488609645-3971548.post@n3.nabble.com> Jasper, Thanks for your reply. I checked the dependencies with Dependency Walker and there are 2 DLL's that can not be found: GPSVC.dll IESHIMS.dll http://mailinglists.scilab.org/file/n3971548/Untitled2.jpg I did check c:\Windows\System32 and GPSVC is there. I downloaded IESHIMS.dll from http://www.dll-files.com/dllindex/dll-files.shtml?ieshims When I check again for dependencies the problem does not go away. On the other hand, I also tried registered my dll regsvr32 /i RkRechDll.dll On my first trial, I got the error: http://mailinglists.scilab.org/file/n3971548/Untitled.gif I read this: http://social.technet.microsoft.com/Forums/en-US/itprovistasecurity/thread/71037d62-d842-44a3-86df-6ed74df6fc39 and then I ran CMD as administrator and it registered just fine. When I try again on scilab I get the same error: -->link('C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll','getVersion','c'); link: The file C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll does not exist. !--error 236 link: The shared archive was not loaded: Unknown Error In that sense, seems like the dependencies should be fine unless you see a problem with Dependency Walker not finding these 2 dll's. Do you still think it could be a possible dependency problem? -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3971548.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From thalesjacques at gmail.com Tue May 8 17:18:58 2012 From: thalesjacques at gmail.com (Thales Jacques) Date: Tue, 8 May 2012 08:18:58 -0700 (PDT) Subject: Linking Delphi DLL with Scilab In-Reply-To: <1336488609645-3971548.post@n3.nabble.com> References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> Message-ID: <1336490338143-3971627.post@n3.nabble.com> Jasper, I had to download the 2 dlls and then I got an error with sysntfy.dll. Then I downloaded sysntfy.dll. All I am doing is leaving the files in the same folder as my dll. Now, when I run the Dependencies Walker, I get a CPU error with the DLL's I downloaded (from http://www.dll-files.com/dllindex/dll-files.shtml?gpsvc) http://mailinglists.scilab.org/file/n3971627/Untitled.jpg I still get the same error on Scilab: -->link('C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll','getVersion','c'); link: The file C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll does not exist. !--error 236 link: The shared archive was not loaded: Unknown Error I am starting to wonder if the instruction above is the correct way to call a Delphi DLL in Scilab and if I need something special done with the DLL in order to make it work inside Scilab. I guess to eliminate the dependencies alternative as a solution for the problem I need to make sure the CPU64 can be changed to CPU32, but I am not sure on how to do this. Ideas? -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3971627.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From allan.cornet at scilab.org Tue May 8 17:27:52 2012 From: allan.cornet at scilab.org (allan.cornet at scilab.org) Date: Tue, 08 May 2012 17:27:52 +0200 Subject: [scilab-Users] Re: Linking Delphi DLL with Scilab In-Reply-To: <1336490338143-3971627.post@n3.nabble.com> References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> Message-ID: Hi, Please notice that a 32 bit dll can be loaded only in a 32 bit environment (Scilab 32 bit) A 64 bit scilab can not load a 32 bit dll Allan On Tue, 8 May 2012 08:18:58 -0700 (PDT), Thales Jacques wrote: > Jasper, > > I had to download the 2 dlls and then I got an error with > sysntfy.dll. > Then I downloaded sysntfy.dll. All I am doing is leaving the files in > the > same folder as my dll. > Now, when I run the Dependencies Walker, I get a CPU error with the > DLL's I > downloaded (from > http://www.dll-files.com/dllindex/dll-files.shtml?gpsvc) > > http://mailinglists.scilab.org/file/n3971627/Untitled.jpg > > I still get the same error on Scilab: > > > -->link('C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll','getVersion','c'); > link: The file > C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll > does not exist. > > > !--error 236 > link: The shared archive was not loaded: Unknown Error > > > I am starting to wonder if the instruction above is the correct way > to call > a Delphi DLL in Scilab and if I need something special done with the > DLL in > order to make it work inside Scilab. > > I guess to eliminate the dependencies alternative as a solution for > the > problem I need to make sure the CPU64 can be changed to CPU32, but I > am not > sure on how to do this. > > Ideas? > > -- > View this message in context: > > http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3971627.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ From jasper at amsterchem.com Tue May 8 17:41:46 2012 From: jasper at amsterchem.com (jasper van baten) Date: Tue, 08 May 2012 17:41:46 +0200 Subject: [scilab-Users] Re: Linking Delphi DLL with Scilab In-Reply-To: References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> Message-ID: <4FA93EBA.8060006@amsterchem.com> Both these DLLs are usually delay loaded, and are not a problem if they are not there. In addition, the message from regsvr32 says the DLL loads fine. So that is not the problem. The 32/64 bits issue pointed out by Allen may however be the problem, Best wishes, Jasper. On 5/8/2012 17:27, allan.cornet at scilab.org wrote: > Hi, > > Please notice that a 32 bit dll can be loaded only in a 32 bit > environment (Scilab 32 bit) > > A 64 bit scilab can not load a 32 bit dll > > Allan > > On Tue, 8 May 2012 08:18:58 -0700 (PDT), Thales Jacques wrote: >> Jasper, >> >> I had to download the 2 dlls and then I got an error with sysntfy.dll. >> Then I downloaded sysntfy.dll. All I am doing is leaving the files in >> the >> same folder as my dll. >> Now, when I run the Dependencies Walker, I get a CPU error with the >> DLL's I >> downloaded (from >> http://www.dll-files.com/dllindex/dll-files.shtml?gpsvc) >> >> http://mailinglists.scilab.org/file/n3971627/Untitled.jpg >> >> I still get the same error on Scilab: >> >> >> -->link('C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll','getVersion','c'); >> >> link: The file >> C:\Windows.old\Users\Thales\Desktop\Scilab\ahts\RkRechDll.dll >> does not exist. >> >> >> !--error 236 >> link: The shared archive was not loaded: Unknown Error >> >> >> I am starting to wonder if the instruction above is the correct way >> to call >> a Delphi DLL in Scilab and if I need something special done with the >> DLL in >> order to make it work inside Scilab. >> >> I guess to eliminate the dependencies alternative as a solution for the >> problem I need to make sure the CPU64 can be changed to CPU32, but I >> am not >> sure on how to do this. >> >> Ideas? >> >> -- >> View this message in context: >> >> http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3971627.html >> >> Sent from the Scilab users - Mailing Lists Archives mailing list >> archive at Nabble.com. >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thalesjacques at gmail.com Tue May 8 17:54:16 2012 From: thalesjacques at gmail.com (Thales Jacques) Date: Tue, 8 May 2012 08:54:16 -0700 (PDT) Subject: Linking Delphi DLL with Scilab In-Reply-To: <4FA93EBA.8060006@amsterchem.com> References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> <4FA93EBA.8060006@amsterchem.com> Message-ID: <1336492456438-3971724.post@n3.nabble.com> I tried running the script on scilab 32bits as well. I get the same error. I will try a 32 bits machine and post the outcome. -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3971724.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From manjusha.joshi at gmail.com Tue May 8 20:26:29 2012 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Tue, 8 May 2012 23:56:29 +0530 Subject: mismatch in calculation with scilab version 5.3.3 on ubuntu 12.04 Message-ID: Hello, Here is the code which is showing unexpected results. I started with vector v. -->v=[1,1,1,1] v = 1. 1. 1. 1. //Defined poly with roots as v -->p=poly(v,'s') p = 2 3 4 1 - 4s + 6s - 4s + s -->roots(p) ans = 1.0001886 1.0000000 + 0.0001886i 1.0000000 - 0.0001886i 0.9998114 //roots of polynomial should be all 1, how ever, answer is different with scilab 5.3.3 on ubuntu 12.04 computers. At least 6 machines giving this different answer. On the other hand scilab 5.3. giving correct answer. Can any one put light on how to interpret it correctly or explain any other reason behind this? Regards, -- Manjusha S. Joshi Pune, India blog:http://manjushajoshi.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue May 8 22:58:06 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 08 May 2012 22:58:06 +0200 Subject: [scilab-Users] mismatch in calculation with scilab version 5.3.3 on ubuntu 12.04 In-Reply-To: References: Message-ID: <4FA988DE.2050006@free.fr> Hello, This result is correct. The following thread in Bugzilla may interest you: http://bugzilla.scilab.org/show_bug.cgi?id=4191#c2 Here, -->%eps^(1/4) ans = 0.0001221 is of the order of shifts reported in your message. Regards Samuel Gougeon Le 08/05/2012 20:26, Manjusha Joshi a ?crit : > Hello, > > Here is the code which is showing unexpected results. > I started with vector v. > > -->v=[1,1,1,1] > v = > > 1. 1. 1. 1. > > //Defined poly with roots as v > -->p=poly(v,'s') > p = > > 2 3 4 > 1 - 4s + 6s - 4s + s > > -->roots(p) > ans = > > 1.0001886 > 1.0000000 + 0.0001886i > 1.0000000 - 0.0001886i > 0.9998114 > //roots of polynomial should be all 1, how ever, answer is different > with scilab 5.3.3 on ubuntu 12.04 computers. At least 6 machines > giving this different answer. On the other hand scilab 5.3. giving > correct answer. > > Can any one put light on how to interpret it correctly or explain any > other reason behind this? > > Regards, > > -- > Manjusha S. Joshi > Pune, India > blog:http://manjushajoshi.wordpress.com/ > > From thalesjacques at gmail.com Tue May 8 23:46:58 2012 From: thalesjacques at gmail.com (Thales Jacques) Date: Tue, 8 May 2012 14:46:58 -0700 (PDT) Subject: Linking Delphi DLL with Scilab In-Reply-To: <1336492456438-3971724.post@n3.nabble.com> References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> <4FA93EBA.8060006@amsterchem.com> <1336492456438-3971724.post@n3.nabble.com> Message-ID: <1336513618306-3972593.post@n3.nabble.com> Jasper/Allan, I got the DLL to successfully link by re-installing scilab scilab-5.3.3 32 bits. Thank you for your help. Continuing the problem with the Scilab, here is what I am getting now: -->functions=["getVersion";"isReynoldsOk";"RKRech";]; -->link('RkRechDll.dll',functions,'c') Shared archive loaded. Link done. RKRech is not an entry point. !--error 235 link: problem with one of the entry point. -->link("show") Number of entry points 2. Shared libraries : [ 0 ] : 1 library. Entry point isReynoldsOk in shared library 0. Entry point getVersion in shared library 0. ans = 0. -->link() ans = !isReynoldsOk getVersion ! What is happening is that only 2 functions are being loaded. In fact, "RKRech" is a procedure while "getVersion" and "isReynoldsOk" are functions. So, looks like I can link the functions but not procedures (as defined by Delphi). Obsvioully, if I remove "RKRech" from the functions vector everything works just fine (no errors are returned). Do you know a way around it? Thank you. Thales. -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3972593.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jasper at amsterchem.com Wed May 9 09:01:21 2012 From: jasper at amsterchem.com (jasper van baten) Date: Wed, 09 May 2012 09:01:21 +0200 Subject: [scilab-Users] Re: Linking Delphi DLL with Scilab In-Reply-To: <1336513618306-3972593.post@n3.nabble.com> References: <1336335244546-3967008.post@n3.nabble.com> <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> <4FA93EBA.8060006@amsterchem.com> <1336492456438-3971724.post@n3.nabble.com> <1336513618306-3972593.post@n3.nabble.com> Message-ID: <4FAA1641.2030101@amsterchem.com> Thales, Are you sure the procedure is exported from the dll? Dependency viewer should be able to tell you. Best wishes, Jasper On 5/8/2012 23:46, Thales Jacques wrote: > Jasper/Allan, > > I got the DLL to successfully link by re-installing scilab scilab-5.3.3 32 > bits. Thank you for your help. Continuing the problem with the Scilab, here > is what I am getting now: > > -->functions=["getVersion";"isReynoldsOk";"RKRech";]; > > -->link('RkRechDll.dll',functions,'c') > Shared archive loaded. > Link done. > RKRech is not an entry point. > !--error 235 > link: problem with one of the entry point. > > -->link("show") > Number of entry points 2. > Shared libraries : > [ 0 ] : 1 library. > Entry point isReynoldsOk in shared library 0. > Entry point getVersion in shared library 0. > ans = > > 0. > > -->link() > ans = > > !isReynoldsOk getVersion ! > > What is happening is that only 2 functions are being loaded. In fact, > "RKRech" is a procedure while "getVersion" and "isReynoldsOk" are functions. > So, looks like I can link the functions but not procedures (as defined by > Delphi). > Obsvioully, if I remove "RKRech" from the functions vector everything works > just fine (no errors are returned). > > Do you know a way around it? > > Thank you. > > Thales. > > -- > View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3972593.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pranav8iisc at gmail.com Wed May 9 09:19:05 2012 From: pranav8iisc at gmail.com (pranav) Date: Wed, 9 May 2012 00:19:05 -0700 (PDT) Subject: Question on using plot in call_scilab module In-Reply-To: <1296667623.23916.4244.camel@korcula.inria.fr> References: <4C078029.1000906@m4s.be> <1296043154.7063.13501.camel@korcula.inria.fr> <1296667623.23916.4244.camel@korcula.inria.fr> Message-ID: <1336547945882-3973381.post@n3.nabble.com> Hi sylvestre, I am using call_scliab. My plateform is Ubuntu12.04. Referring to documentation: http://help.scilab.org/docs/5.3.3/en_US/compile_and_run_call_scilab.html I need to add 'libjavasci.so' which is not present in the Scilab library folder.(I installed scilab through Synaptic Package Manager). Where is its expected location? -- View this message in context: http://mailinglists.scilab.org/Question-on-using-plot-in-call-scilab-module-tp2617404p3973381.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From meni.tima at hotmail.com Wed May 9 09:47:39 2012 From: meni.tima at hotmail.com (Tima) Date: Wed, 9 May 2012 00:47:39 -0700 (PDT) Subject: Scilab in Eclipse In-Reply-To: <4FA3F4CA.8070206@limsi.fr> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> <4FA3F4CA.8070206@limsi.fr> Message-ID: <1336549659954-3973422.post@n3.nabble.com> Hi, Thanks for your reply ^^ I try it from me, but Eclipse, always, don't know SCI variable! You define the variable in /etc/bash.bachrc , right? I tried with another method, by define a makefile where I put this lines: ******************** /SCI = /usr/share/scilab CLASSPATH = $(SCI)/modules/javasci/jar/org.scilab.modules.javasci.jar:$(SCI)/modules/types/jar/org.scilab.modules.types.jar LIB_PATH = /usr/lib/scilab all: javac -cp $(CLASSPATH) Example1.java java -cp $(CLASSPATH). -DSCI=$(SCI) -Djava.library.path=$(LIB_PATH) Example1/ ******************** but when I do* make all*, it appears: ****************** /Exception in thread "main" java.lang.NoClassDefFoundError: Example1 Caused by: java.lang.ClassNotFoundException: Example1 at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: Example1. Program will exit. make: *** [all] Error 1/ ****************** there is something missing in my makefile ?? Help Please! Really, It make me stuck!! Regards, Tima -- View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3973422.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From pranav8iisc at gmail.com Wed May 9 11:03:14 2012 From: pranav8iisc at gmail.com (pranav) Date: Wed, 9 May 2012 02:03:14 -0700 (PDT) Subject: Question on using plot in call_scilab module In-Reply-To: References: <4C078029.1000906@m4s.be> Message-ID: <1336554194825-3973579.post@n3.nabble.com> Hi Mike, You mentioned *Malloc.lib* is it equivalent to *libscimalloc.so* in linux? Actually i am trying to use *call_scilab* in linux(Ubuntu 12.04) to use *plot3d()* function. -- View this message in context: http://mailinglists.scilab.org/Question-on-using-plot-in-call-scilab-module-tp2617404p3973579.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From pranav8iisc at gmail.com Wed May 9 11:41:13 2012 From: pranav8iisc at gmail.com (pranav) Date: Wed, 9 May 2012 02:41:13 -0700 (PDT) Subject: scilab and c program communication In-Reply-To: <1286354247.5090.227.camel@a2kelana> References: <1286354247.5090.227.camel@a2kelana> Message-ID: <1336556473494-3973650.post@n3.nabble.com> Hi Onil, Can you tell which libraries you have linked to make *call_scilab* engine work on linux? I am using Ubuntu 12.04. -- View this message in context: http://mailinglists.scilab.org/scilab-and-c-program-communication-tp2618031p3973650.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Wed May 9 11:53:43 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 9 May 2012 10:53:43 +0100 Subject: [scilab-Users] RE: Question on using plot in call_scilab module In-Reply-To: <1336554194825-3973579.post@n3.nabble.com> Message-ID: Hi, Not sure I can be much help here. I am only a Scilab user - maybe one of the dev team can help. I built my code on Windows and found the include files and libs by trial and error. Basically I just did a trial build and noted the errors, then included what I thought might be needed until it worked. This set of include files and libraries might not be the best set, but it worked for me. I don't know much about Linux, but I would guess libscimalloc.so sounds like the right lib file. I suggest you include it anyway if you are getting errors about unresolved linker symbols that sound like they may be defined in there. Cheers, Mike. -----Original Message----- From: pranav [mailto:pranav8iisc at gmail.com] Sent: 09 May 2012 10:03 To: users at lists.scilab.org Subject: [scilab-Users] RE: Question on using plot in call_scilab module Hi Mike, You mentioned *Malloc.lib* is it equivalent to *libscimalloc.so* in linux? Actually i am trying to use *call_scilab* in linux(Ubuntu 12.04) to use *plot3d()* function. -- View this message in context: http://mailinglists.scilab.org/Question-on-using-plot-in-call-scilab-module- tp2617404p3973579.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From mathieu.dubois at limsi.fr Wed May 9 12:43:14 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 09 May 2012 12:43:14 +0200 Subject: [scilab-Users] Re: Scilab in Eclipse In-Reply-To: <1336549659954-3973422.post@n3.nabble.com> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> <4FA3F4CA.8070206@limsi.fr> <1336549659954-3973422.post@n3.nabble.com> Message-ID: <4FAA4A42.4080509@limsi.fr> On 05/09/2012 09:47 AM, Tima wrote: > Hi, > Thanks for your reply ^^ > I try it from me, but Eclipse, always, don't know SCI variable! > You define the variable in /etc/bash.bachrc , right? No I define them from the shell in which I launch eclipse. If you define them in /etc/bash.bachrc you have to start a new interactive shell otherwise they are not set. > > I tried with another method, by define a makefile where I put this lines: > ******************** > /SCI = /usr/share/scilab > CLASSPATH = > $(SCI)/modules/javasci/jar/org.scilab.modules.javasci.jar:$(SCI)/modules/types/jar/org.scilab.modules.types.jar > LIB_PATH = /usr/lib/scilab > all: > javac -cp $(CLASSPATH) Example1.java > java -cp $(CLASSPATH). -DSCI=$(SCI) -Djava.library.path=$(LIB_PATH) > Example1/ > ******************** > > but when I do* make all*, it appears: > > ****************** > /Exception in thread "main" java.lang.NoClassDefFoundError: Example1 > Caused by: java.lang.ClassNotFoundException: Example1 > at java.net.URLClassLoader$1.run(URLClassLoader.java:217) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:205) > at java.lang.ClassLoader.loadClass(ClassLoader.java:321) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) > at java.lang.ClassLoader.loadClass(ClassLoader.java:266) > Could not find the main class: Example1. Program will exit. > make: *** [all] Error 1/ > > ****************** > > > there is something missing in my makefile ?? No idea here. > Help Please! Really, It make me stuck!! > Regards, > Tima > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3973422.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From viniciussucupira at gmail.com Wed May 9 13:52:10 2012 From: viniciussucupira at gmail.com (email1018) Date: Wed, 9 May 2012 04:52:10 -0700 (PDT) Subject: From degree-minute-second form to decimal degree form Message-ID: <1336564330322-3973874.post@n3.nabble.com> Please, I would like a the step-by-step solution in scilab to: Convert 12?6'23'' to decimal degree form correct to three decimal places. Answer: 12.106? -- View this message in context: http://mailinglists.scilab.org/From-degree-minute-second-form-to-decimal-degree-form-tp3973874.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Wed May 9 14:19:33 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 9 May 2012 13:19:33 +0100 Subject: [scilab-Users] From degree-minute-second form to decimal degree form In-Reply-To: <1336564330322-3973874.post@n3.nabble.com> Message-ID: Lots of ways - here's a neat trick: -->(datenum(0,1,1,12,6,23)-1)*24 ans = 12.106 -----Original Message----- From: email1018 [mailto:viniciussucupira at gmail.com] Sent: 09 May 2012 12:52 To: users at lists.scilab.org Subject: [scilab-Users] From degree-minute-second form to decimal degree form Please, I would like a the step-by-step solution in scilab to: Convert 12?6'23'' to decimal degree form correct to three decimal places. Answer: 12.106? -- View this message in context: http://mailinglists.scilab.org/From-degree-minute-second-form-to-decimal-degree-form-tp3973874.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From viniciussucupira at gmail.com Wed May 9 14:55:41 2012 From: viniciussucupira at gmail.com (email1018) Date: Wed, 9 May 2012 05:55:41 -0700 (PDT) Subject: From degree-minute-second form to decimal degree form In-Reply-To: <1336564330322-3973874.post@n3.nabble.com> References: <1336564330322-3973874.post@n3.nabble.com> Message-ID: <1336568141456-3974021.post@n3.nabble.com> Please, I would like a the step-by-step solution in scilab to: Convert 128?42'8'' to decimal degree form correct to three decimal places. Answer: 128.702? -- View this message in context: http://mailinglists.scilab.org/From-degree-minute-second-form-to-decimal-degree-form-tp3973874p3974021.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From viniciussucupira at gmail.com Wed May 9 14:59:27 2012 From: viniciussucupira at gmail.com (email1018) Date: Wed, 9 May 2012 05:59:27 -0700 (PDT) Subject: From degree-minute-second form to decimal degree form In-Reply-To: <1336568141456-3974021.post@n3.nabble.com> References: <1336564330322-3973874.post@n3.nabble.com> <1336568141456-3974021.post@n3.nabble.com> Message-ID: On 9 May 2012 09:55, email1018 [via Scilab / Xcos - Mailing Lists Archives] wrote: > Please, I would like a the step-by-step solution in scilab to: > > Convert 128?42'8'' to decimal degree form correct to three decimal places. > > Answer: 128.702? > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/From-degree-minute-second-form-to-decimal-degree-form-tp3973874p3974021.html > To unsubscribe from From degree-minute-second form to decimal degree > form, click here > . > NAML > -- View this message in context: http://mailinglists.scilab.org/From-degree-minute-second-form-to-decimal-degree-form-tp3973874p3974037.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From meni.tima at hotmail.com Wed May 9 15:09:25 2012 From: meni.tima at hotmail.com (Tima) Date: Wed, 9 May 2012 06:09:25 -0700 (PDT) Subject: Scilab in Eclipse In-Reply-To: <4FAA4A42.4080509@limsi.fr> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> <4FA3F4CA.8070206@limsi.fr> <1336549659954-3973422.post@n3.nabble.com> <4FAA4A42.4080509@limsi.fr> Message-ID: <1336568965928-3974060.post@n3.nabble.com> Ah ok!! you're absolutely right for the variable SCI . But Eclipse appears this error now : *The native library javasci does not exist or cannot be found. java.lang.UnsatisfiedLinkError: no javasci2 in java.library.path* Note that I added the external Jars org.scilab.modules.javasci.jar and org.scilab.modules.types.jar in the java build path.? should I do something else ? Thanks alot Mathieu Regards -- View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3974060.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From viniciussucupira at gmail.com Wed May 9 16:05:55 2012 From: viniciussucupira at gmail.com (email1018) Date: Wed, 9 May 2012 07:05:55 -0700 (PDT) Subject: From degree-minute-second form to decimal degree form Message-ID: <1336572355928-3974222.post@n3.nabble.com> Please, I would like a the step-by-step solution in scilab to: Convert 128?42'8'' to decimal degree form correct to three decimal places. Answer: 128.702? -- View this message in context: http://mailinglists.scilab.org/From-degree-minute-second-form-to-decimal-degree-form-tp3974222.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Wed May 9 16:12:31 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 09 May 2012 16:12:31 +0200 Subject: [scilab-Users] Re: Scilab in Eclipse In-Reply-To: <1336568965928-3974060.post@n3.nabble.com> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> <4FA3F4CA.8070206@limsi.fr> <1336549659954-3973422.post@n3.nabble.com> <4FAA4A42.4080509@limsi.fr> <1336568965928-3974060.post@n3.nabble.com> Message-ID: <4FAA7B4F.2030301@limsi.fr> Did you set LD_LIBRARY_PATH? On 05/09/2012 03:09 PM, Tima wrote: > Ah ok!! > you're absolutely right for the variable SCI . > But Eclipse appears this error now : > *The native library javasci does not exist or cannot be found. > java.lang.UnsatisfiedLinkError: no javasci2 in java.library.path* > > Note that I added the external Jars org.scilab.modules.javasci.jar and > org.scilab.modules.types.jar in the java build path.? > should I do something else ? > Thanks alot Mathieu > Regards > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3974060.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From Mike at Page-One.Waitrose.com Wed May 9 16:21:09 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 9 May 2012 15:21:09 +0100 Subject: [scilab-Users] From degree-minute-second form to decimal degree form In-Reply-To: <1336572355928-3974222.post@n3.nabble.com> Message-ID: How about -->format(8) -->128+(datenum(0,1,1,0,42,8)-1)*24 ans = 128.702 Any more homework you would like me to do for you? ;-) -----Original Message----- From: email1018 [mailto:viniciussucupira at gmail.com] Sent: 09 May 2012 15:06 To: users at lists.scilab.org Subject: [scilab-Users] From degree-minute-second form to decimal degree form Please, I would like a the step-by-step solution in scilab to: Convert 128?42'8'' to decimal degree form correct to three decimal places. Answer: 128.702? -- View this message in context: http://mailinglists.scilab.org/From-degree-minute-second-form-to-decimal-degree-form-tp3974222.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From meni.tima at hotmail.com Wed May 9 16:40:25 2012 From: meni.tima at hotmail.com (Tima) Date: Wed, 9 May 2012 07:40:25 -0700 (PDT) Subject: Scilab in Eclipse In-Reply-To: <4FAA7B4F.2030301@limsi.fr> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> <4FA3F4CA.8070206@limsi.fr> <1336549659954-3973422.post@n3.nabble.com> <4FAA4A42.4080509@limsi.fr> <1336568965928-3974060.post@n3.nabble.com> <4FAA7B4F.2030301@limsi.fr> Message-ID: <1336574425032-3974323.post@n3.nabble.com> Yes! As I do export SCI= /usr/share/scilab export LD_LIBRARY_PATH=/usr/lib/scilab and after I launsh Eclipse from the same terminal -- View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3974323.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From manjusha.joshi at gmail.com Wed May 9 20:34:04 2012 From: manjusha.joshi at gmail.com (Manjusha Joshi) Date: Thu, 10 May 2012 00:04:04 +0530 Subject: [scilab-Users] mismatch in calculation with scilab version 5.3.3 on ubuntu 12.04 In-Reply-To: <4FA988DE.2050006@free.fr> References: <4FA988DE.2050006@free.fr> Message-ID: On Wed, May 9, 2012 at 2:28 AM, Samuel Gougeon wrote: > Hello, > > This result is correct. The following thread in Bugzilla may > interest you: > > Here, > -->%eps^(1/4) > ans = > 0.0001221 > is of the order of shifts reported in your message. > > How ever some of the machines showing roots 1 1 1 1 and some are not. How both answers can be correct? > > > Le 08/05/2012 20:26, Manjusha Joshi a ?crit : > > Hello, >> >> Here is the code which is showing unexpected results. >> I started with vector v. >> >> -->v=[1,1,1,1] >> v = >> >> 1. 1. 1. 1. >> >> //Defined poly with roots as v >> -->p=poly(v,'s') >> p = >> >> 2 3 4 >> 1 - 4s + 6s - 4s + s >> >> -->roots(p) >> ans = >> >> 1.0001886 >> 1.0000000 + 0.0001886i >> 1.0000000 - 0.0001886i >> 0.9998114 >> //roots of polynomial should be all 1, how ever, answer is different >> with scilab 5.3.3 on ubuntu 12.04 computers. At least 6 machines giving >> this different answer. On the other hand scilab 5.3. giving correct answer. >> >> Can any one put light on how to interpret it correctly or explain any >> other reason behind this? >> >> Regards, >> >> -- >> Manjusha S. Joshi >> Pune, India >> blog:http://manjushajoshi.**wordpress.com/ >> >> >> > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.**scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.**org/ > > -- Manjusha S. Joshi Mobile: 09822 319328 Pune, India blog:http://manjushajoshi.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rgmantovani at veltec.com.br Wed May 9 19:40:43 2012 From: rgmantovani at veltec.com.br (Rafael Mantovani - Veltec) Date: Wed, 9 May 2012 14:40:43 -0300 Subject: Problem when installing cglab Message-ID: Hello, I installed the cglab module via "atomsInstall('cglab')" command, but when i try to use *cglab* module with the command "atomsLoad('cglab')" the following error message appears: *Start CG-lab Load macros Load gateways atomsLoad: An error occurred while loading 'cglab-2.0-1': link: The shared archive was not loaded: libCGAL.so.5: cannot open shared object file: No such file or directory* I found the file "libCGAL.so.9" in folder /usr/local/include (of the CGAL version that I've installed). So, what should I do to correct this error message? Att, Rafael. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Thu May 10 02:33:42 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 10 May 2012 02:33:42 +0200 Subject: [scilab-Users] mismatch in calculation with scilab version 5.3.3 on ubuntu 12.04 In-Reply-To: References: <4FA988DE.2050006@free.fr> Message-ID: <4FAB0CE6.10207@free.fr> Le 09/05/2012 20:34, Manjusha Joshi a ?crit : > On Wed, May 9, 2012 at 2:28 AM, Samuel Gougeon > wrote: > > Hello, > > This result is correct. The following thread in Bugzilla may > interest you: > > Here, > -->%eps^(1/4) > ans = > 0.0001221 > is of the order of shifts reported in your message. > > How ever some of the machines showing roots 1 1 1 1 > and some are not. How both answers can be correct? I guess that it may depend on the library linked to Scilab for your distribution and dealing with algebra: ATLAS, etc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From viniciussucupira at gmail.com Thu May 10 05:13:39 2012 From: viniciussucupira at gmail.com (email1018) Date: Wed, 9 May 2012 20:13:39 -0700 (PDT) Subject: Inequality Message-ID: <1336619619228-3975979.post@n3.nabble.com> I would like please a solution in Scilab to [(x-a)/(x+a)]>0 Answer: x^2>a^2 or |x|>|a| http://mailinglists.scilab.org/file/n3975979/IMAGE.jpg -- View this message in context: http://mailinglists.scilab.org/Inequality-tp3975979.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Thu May 10 08:44:17 2012 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 10 May 2012 08:44:17 +0200 Subject: [scilab-Users] Re: Scilab in Eclipse In-Reply-To: <1336574425032-3974323.post@n3.nabble.com> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> <4FA3F4CA.8070206@limsi.fr> <1336549659954-3973422.post@n3.nabble.com> <4FAA4A42.4080509@limsi.fr> <1336568965928-3974060.post@n3.nabble.com> <4FAA7B4F.2030301@limsi.fr> <1336574425032-3974323.post@n3.nabble.com> Message-ID: <4FAB63C1.8050206@limsi.fr> Le 09/05/2012 16:40, Tima a ?crit : > Yes! As I do > export SCI= /usr/share/scilab No space between '=' and '/' > export LD_LIBRARY_PATH=/usr/lib/scilab > and after I launsh Eclipse from the same terminal I can confirm that this works for me (check the space). Stupid suggestion: How did you install scilab? If it is from your distribution's repository check that the packages are installed (on Ubuntu it's libscilab2-java). > -- > View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3974323.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From ottokart at gmail.com Thu May 10 10:13:11 2012 From: ottokart at gmail.com (ottokar.tilk) Date: Thu, 10 May 2012 01:13:11 -0700 (PDT) Subject: metanet still not working ... In-Reply-To: <1324496292792-3604953.post@n3.nabble.com> References: <1324496292792-3604953.post@n3.nabble.com> Message-ID: <1336637591650-3976441.post@n3.nabble.com> I had exactly the same problem and went through the following steps to solve the problem: Change: In #Scilab root#\contrib\metanet\0.3-2\sci_gateway\fortran\loader.sce: link('F:/work/532E8D~1.2/bin/elementary_functions' + getdynlibext()); link('F:/work/532E8D~1.2/bin/elementary_functions_f' + getdynlibext()); to: link(SCI + '/bin/elementary_functions' + getdynlibext()); link(SCI + '/bin/elementary_functions_f' + getdynlibext()); Create org.scilab.modules.metanet.jar file from the source in #Scilab root#\contrib\metanet\0.3-2\src\java and put it in the #Scilab root#\contrib\metanet\0.3-2\jar folder. Almost all necessary external archives are available in Scilab directories: #Scilab root#\thirdparty (jgraphx.jar); #Scilab root#\modules\gui\jar and #Scilab root#\modules\graph\jar. Apache logging (commons-logging-1.1.1.jar) had to be downloaded from http://commons.apache.org/logging/download_logging.cgi After all that, Eclipse still showed me 2 errors, but I ignored them and exported the jar file anyway and got the metanet to load without errors. -- View this message in context: http://mailinglists.scilab.org/metanet-still-not-working-tp3604953p3976441.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From meni.tima at hotmail.com Thu May 10 11:15:45 2012 From: meni.tima at hotmail.com (Tima) Date: Thu, 10 May 2012 02:15:45 -0700 (PDT) Subject: Scilab in Eclipse In-Reply-To: <4FAB63C1.8050206@limsi.fr> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> <4FA3F4CA.8070206@limsi.fr> <1336549659954-3973422.post@n3.nabble.com> <4FAA4A42.4080509@limsi.fr> <1336568965928-3974060.post@n3.nabble.com> <4FAA7B4F.2030301@limsi.fr> <1336574425032-3974323.post@n3.nabble.com> <4FAB63C1.8050206@limsi.fr> Message-ID: <1336641345805-3976559.post@n3.nabble.com> I installed scilab from the ubuntu Software Center. you're right, the libscilab2-java was missing.. I installed this package But Now the error is : *The native library javasci does not exist or cannot be found. java.lang.UnsatisfiedLinkError: /usr/lib/jni/libjavasci2.so.5.3.3: /usr/lib/scilab/libscicacsd.so.5: undefined symbol* I summarize what I did: *1/* I export 2 variables: export SCI=/usr/share/scilab export LD_LIBRARY_PATH=/usr/lib/scilab *2/*I launch Eclipse *3/*I add 2 External jars : org.scilab.modules.javasci.jar org.scilab.modules.types.jar 4/ I run the Example1, and I have the error on top. Maybe I forgot something else? I thank you alot Mathieu for your help! -- View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3976559.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From viniciussucupira at gmail.com Thu May 10 13:46:00 2012 From: viniciussucupira at gmail.com (email1018) Date: Thu, 10 May 2012 04:46:00 -0700 (PDT) Subject: Inequality Message-ID: <1336650360471-3976867.post@n3.nabble.com> I would like please a step-by-step solution in Scilab to [x/(x-3)]<4 http://mailinglists.scilab.org/file/n3976867/1.jpg -- View this message in context: http://mailinglists.scilab.org/Inequality-tp3976867.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From meni.tima at hotmail.com Thu May 10 14:16:40 2012 From: meni.tima at hotmail.com (Tima) Date: Thu, 10 May 2012 05:16:40 -0700 (PDT) Subject: Scilab in Eclipse In-Reply-To: <1336641345805-3976559.post@n3.nabble.com> References: <1336123423816-3961649.post@n3.nabble.com> <4FA3EF20.20601@limsi.fr> <4FA3F4CA.8070206@limsi.fr> <1336549659954-3973422.post@n3.nabble.com> <4FAA4A42.4080509@limsi.fr> <1336568965928-3974060.post@n3.nabble.com> <4FAA7B4F.2030301@limsi.fr> <1336574425032-3974323.post@n3.nabble.com> <4FAB63C1.8050206@limsi.fr> <1336641345805-3976559.post@n3.nabble.com> Message-ID: <1336652200882-3976935.post@n3.nabble.com> Oh Finally, I can run it successfully!!! In fact, I must define the SCI and the LD_LIBRARY_PATH as a variable's environment in the run configuration in Eclipse. Thanks again Mathieu ^^ -- View this message in context: http://mailinglists.scilab.org/Scilab-in-Eclipse-tp3961649p3976935.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From viniciussucupira at gmail.com Fri May 11 16:53:22 2012 From: viniciussucupira at gmail.com (email1018) Date: Fri, 11 May 2012 07:53:22 -0700 (PDT) Subject: Solution of equation Message-ID: <1336748001996-3980146.post@n3.nabble.com> I would like please a step-by-step solution in Scilab to x^2+4*x+3=0 In Matlab: >> x=sym('x'); >> sol=solve('x^2+4*x+3=0',x) sol = -3 -1 http://mailinglists.scilab.org/file/n3980146/Equation.jpg -- View this message in context: http://mailinglists.scilab.org/Solution-of-equation-tp3980146.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Fri May 11 17:13:37 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Fri, 11 May 2012 16:13:37 +0100 Subject: [scilab-Users] Solution of equation In-Reply-To: <1336748001996-3980146.post@n3.nabble.com> Message-ID: I suggest you read the tutorials and check the help system in Scilab. -->p=poly([3 4 1],'x','coeff') p = 2 3 + 4x + x -->roots(p) ans = - 3. - 1. -----Original Message----- From: email1018 [mailto:viniciussucupira at gmail.com] Sent: 11 May 2012 15:53 To: users at lists.scilab.org Subject: [scilab-Users] Solution of equation I would like please a step-by-step solution in Scilab to x^2+4*x+3=0 In Matlab: >> x=sym('x'); >> sol=solve('x^2+4*x+3=0',x) sol = -3 -1 http://mailinglists.scilab.org/file/n3980146/Equation.jpg -- View this message in context: http://mailinglists.scilab.org/Solution-of-equation-tp3980146.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From viniciussucupira at gmail.com Fri May 11 18:37:22 2012 From: viniciussucupira at gmail.com (email1018) Date: Fri, 11 May 2012 09:37:22 -0700 (PDT) Subject: Solution of equation Message-ID: <1336754242641-3980455.post@n3.nabble.com> I would like please a solution in Scilab to x^2-a*x-1=0 (I tried something similar to p=poly([-1 -a 1],'x','coeff') but I did not get the solution) Regards Vinicius -- View this message in context: http://mailinglists.scilab.org/Solution-of-equation-tp3980455.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Wed May 9 22:30:56 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Wed, 09 May 2012 22:30:56 +0200 Subject: [scilab-Users] Piping output of a program to a scilab script In-Reply-To: <4FA3B1F4.6010709@limsi.fr> References: <4FA3B1F4.6010709@limsi.fr> Message-ID: <4FAAD400.5010004@scilab-enterprises.com> On 04/05/2012 12:39, Mathieu Dubois wrote: > Hello, > > I would like to know if it's possible to use scilab in a standard UNIX > pipeline. > > I have some programs that output their results to stdout and I would > like to read it from scilab. > > I know I can launch scilab in batch mode with "-nb -nwni" and execute > a command with-e. With 5.3.3 (and the current nightly), the following cases are working: $ echo "a=1+%pi; disp(a)"|scilab-cli $ echo "a=1+%pi; disp(a)" > plop.sci && cat plop.sci |scilab-cli Sylvestre From sylvestre.ledru at scilab-enterprises.com Thu May 10 07:59:57 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 10 May 2012 07:59:57 +0200 Subject: [scilab-Users] RE: Question on using plot in call_scilab module In-Reply-To: <1336547945882-3973381.post@n3.nabble.com> References: <4C078029.1000906@m4s.be> <1296043154.7063.13501.camel@korcula.inria.fr> <1296667623.23916.4244.camel@korcula.inria.fr> <1336547945882-3973381.post@n3.nabble.com> Message-ID: <4FAB595D.7020705@scilab-enterprises.com> On 09/05/2012 09:19, pranav wrote: > Hi sylvestre, > > I am using call_scliab. > My plateform is Ubuntu12.04. > Referring to documentation: > http://help.scilab.org/docs/5.3.3/en_US/compile_and_run_call_scilab.html > > I need to add 'libjavasci.so' which is not present in the Scilab library > folder.(I installed scilab through Synaptic Package Manager). > > Where is its expected location? > Install also the package libscilab2-java Sylvestre From sahallacy at hotmail.com Sat May 12 00:14:19 2012 From: sahallacy at hotmail.com (steven hallacy) Date: Fri, 11 May 2012 17:14:19 -0500 Subject: [scilab-Users] Inequality In-Reply-To: <1336619619228-3975979.post@n3.nabble.com> References: <1336619619228-3975979.post@n3.nabble.com> Message-ID: Maxima is able to solve some type of inequalities (see http://cadadr.org/maxima/faq.html). (%i1) load(fourier_elim)$ (%i2) fourier_elim([(x/(x-3))<4],[x]); (%o2) [4 < x] or [x < 3] (%i3) fourier_elim([((x-a)/(x+a))>0],[x]); (%o3) [max(- a, a) < x] or [x < min(a, - a)] (%i4) There is a scilab toolbox that will allow you to access maxima within scilab: http://forge.scilab.org/index.php/p/scimax/. But its only available for the linux version of scilab at this time. I haven't used it, so I can't tell you much about it. If you're not using Linux, you might want to take a look at installing ubuntu or one of the other linux distributions on VirtualBox. This will allow you to use Linux within Windows. HTH, Stephen > Date: Wed, 9 May 2012 20:13:39 -0700 > From: viniciussucupira at gmail.com > To: users at lists.scilab.org > Subject: [scilab-Users] Inequality > > I would like please a solution in Scilab to [(x-a)/(x+a)]>0 > > Answer: x^2>a^2 or |x|>|a| > > http://mailinglists.scilab.org/file/n3975979/IMAGE.jpg > > > > > -- > View this message in context: http://mailinglists.scilab.org/Inequality-tp3975979.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From c_rabanal0 at yahoo.com.ar Sat May 12 17:23:32 2012 From: c_rabanal0 at yahoo.com.ar (Cristian) Date: Sat, 12 May 2012 15:23:32 +0000 (UTC) Subject: Bry Boschan - Annual Data Message-ID: Hello, i am a beginner in grocer. I need a routine to calculate pivot points with Bry Boschan from annual data. This is the data. Thanks. obs;Australia 1960;0,0052141379 1961;-0,0145749108 1962;-0,001498101 1963;0,0059841752 1964;0,0149255065 1965;0,0096476399 1966;-0,0294679328 1967;-0,0114011959 1968;-0,0027424546 1969;0,0082709978 1970;0,0075052928 1971;0,0071978516 1972;-0,0029099571 1973;0,0006902564 1974;-0,0060800183 1975;0,0033778057 1976;0,0148731156 1977;-0,0085114795 1978;0,0017588981 1979;0,0199852413 1980;-0,0033060462 1981;-0,0003074131 1982;-0,0153812477 1983;-0,0113308641 1984;0,0119112362 1985;0,0174298602 1986;0,0001987025 1987;0,0071701592 1988;-0,0054813608 1989;-0,0135251498 1990;-0,005385687 1991;-0,0135541997 1992;0,0002329415 1993;0,001673908 1994;-0,0078894583 1995;-0,0222760543 1996;-0,0071938827 1997;0,0007338147 1998;0,0128457348 1999;0,0139602361 2000;0,0098712202 2001;0,0070489861 2002;0,0063971204 2003;0,0103527203 2004;0,0092939114 2005;-0,0006687077 2006;-0,0124314776 2007;-0,0022670517 2008;0,0035372311 2009;0,0020127028 2010;-0,0056186773 2011;-0,0102980765 From nakabisha at gmail.com Sun May 13 12:41:41 2012 From: nakabisha at gmail.com (N.N.) Date: Sun, 13 May 2012 12:41:41 +0200 Subject: how to calculate pivot points from annual data with Bry G. and Boschan C. Message-ID: Cristian, maybe this can help you. You can try the following links ideas.repec.org/c/boc/bocode/rts00031.html ideas.repec.org/c/boc/bocode/s457288.html ideas.repec.org/h/nbr/nberch/2148.html or buy the book... www.nber.org/books/bry_71-1 Hope this can help you. Alain Vanhentenryck. Belgium -- Complex numbers: They are all fun and games until someone loses an i. From grocer.toolbox at gmail.com Sun May 13 13:13:57 2012 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Sun, 13 May 2012 13:13:57 +0200 Subject: [scilab-Users] Bry Boschan - Annual Data In-Reply-To: References: Message-ID: Hello Cristian. You first have to load your data into Scilab. For instance, use the joined txt file, stored for instance in folder c:/data4bb: --> impexcb2d('c:/data4bb/australia_data.txt',';','c:/data4bb/australia.dat') --> load('c:/data4bb/australia.dat') Then you can for instance run: --> brybos('Australia','M=4','m=0.03','e=1','k=2','proc=''bb''') Note that: - the Bry-Boschan procedure, and its variant Harding-Pagan, are suited for monthly and quarterly data, - you have to adapt the parameters of the procedure (peak to trough minimum length M, ...): feel free to change the ones I have chosen! ?ric. 2012/5/12 Cristian > Hello, i am a beginner in grocer. I need a routine to calculate pivot > points > with Bry Boschan from annual data. This is the data. Thanks. > > obs;Australia > 1960;0,0052141379 > 1961;-0,0145749108 > 1962;-0,001498101 > 1963;0,0059841752 > 1964;0,0149255065 > 1965;0,0096476399 > 1966;-0,0294679328 > 1967;-0,0114011959 > 1968;-0,0027424546 > 1969;0,0082709978 > 1970;0,0075052928 > 1971;0,0071978516 > 1972;-0,0029099571 > 1973;0,0006902564 > 1974;-0,0060800183 > 1975;0,0033778057 > 1976;0,0148731156 > 1977;-0,0085114795 > 1978;0,0017588981 > 1979;0,0199852413 > 1980;-0,0033060462 > 1981;-0,0003074131 > 1982;-0,0153812477 > 1983;-0,0113308641 > 1984;0,0119112362 > 1985;0,0174298602 > 1986;0,0001987025 > 1987;0,0071701592 > 1988;-0,0054813608 > 1989;-0,0135251498 > 1990;-0,005385687 > 1991;-0,0135541997 > 1992;0,0002329415 > 1993;0,001673908 > 1994;-0,0078894583 > 1995;-0,0222760543 > 1996;-0,0071938827 > 1997;0,0007338147 > 1998;0,0128457348 > 1999;0,0139602361 > 2000;0,0098712202 > 2001;0,0070489861 > 2002;0,0063971204 > 2003;0,0103527203 > 2004;0,0092939114 > 2005;-0,0006687077 > 2006;-0,0124314776 > 2007;-0,0022670517 > 2008;0,0035372311 > 2009;0,0020127028 > 2010;-0,0056186773 > 2011;-0,0102980765 > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- dates;Australia 1960;0.0052141379 1961;-0.0145749108 1962;-0.001498101 1963;0.0059841752 1964;0.0149255065 1965;0.0096476399 1966;-0.0294679328 1967;-0.0114011959 1968;-0.0027424546 1969;0.0082709978 1970;0.0075052928 1971;0.0071978516 1972;-0.0029099571 1973;0.0006902564 1974;-0.0060800183 1975;0.0033778057 1976;0.0148731156 1977;-0.0085114795 1978;0.0017588981 1979;0.0199852413 1980;-0.0033060462 1981;-0.0003074131 1982;-0.0153812477 1983;-0.0113308641 1984;0.0119112362 1985;0.0174298602 1986;0.0001987025 1987;0.0071701592 1988;-0.0054813608 1989;-0.0135251498 1990;-0.005385687 1991;-0.0135541997 1992;0.0002329415 1993;0.001673908 1994;-0.0078894583 1995;-0.0222760543 1996;-0.0071938827 1997;0.0007338147 1998;0.0128457348 1999;0.0139602361 2000;0.0098712202 2001;0.0070489861 2002;0.0063971204 2003;0.0103527203 2004;0.0092939114 2005;-0.0006687077 2006;-0.0124314776 2007;-0.0022670517 2008;0.0035372311 2009;0.0020127028 2010;-0.0056186773 2011;-0.0102980765 From iai at axelspace.com Mon May 14 05:45:30 2012 From: iai at axelspace.com (Iai Masafumi ax) Date: Mon, 14 May 2012 12:45:30 +0900 Subject: Passing a string matrix to a C user routine. Message-ID: <4FB07FDA.1060706@axelspace.com> Hello, Is it possible to give a string matrix as an input argument of a C user routine called by 'call' command? If possible, how to use 'call' command and how to define a C function? Thank you, Iai From cjep at bigpond.net.au Mon May 14 11:28:33 2012 From: cjep at bigpond.net.au (Christopher Phillips) Date: Mon, 14 May 2012 19:28:33 +1000 Subject: Fwd: Scilab Mac OSX Problem References: <4FB0B12C.3090409@scilab-enterprises.com> Message-ID: <75CC3522-98D2-483E-9234-D749F0F356C7@bigpond.net.au> Begin forwarded message: > From: Sylvestre Ledru > Subject: Re: Scilab Mac OSX Problem > Date: 14 May 2012 5:15:56 PM AEST > To: Christopher Phillips > Cc: users-owner at lists.scilab.org > > Hello, > > Please send the mail to users at lists.scilab.org > The address you used it just for the moderator ;) > > Sylvestre > > On 14/05/2012 09:12, Christopher Phillips wrote: >> Hello, >> >> I have just down loaded Scilab Version 5.4.0 - alpha-1 on to my Mac, which is running OS X version 10.7.4. >> >> However, I have a problem in that although I can run command line functions and programs, the Scilab Console has an odd format in that digits are separated by spaces and the number "1" appears as raised dot (rather like, but NOT the same as, an apostrophe ) for example the copyright number appears as ' 9 8 9 - 2 0 ' ', where I have used the apostrophe to indicate the dot. >> >> The letters and words in the Console are not affected and the Editor is normal for both letters and numbers. >> >> Do I have to set a numeric format or something else to fix this problem? >> >> Thank you very much for helping. For your information, I am a retired lecturer in Electrical Engineering from the University of NSW, Sydney and have had many years experience with Matlab. >> >> Kind regards, >> >> Chris Phillips > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpayala at espe.edu.ec Mon May 14 15:03:19 2012 From: jpayala at espe.edu.ec (Paul Ayala-ESPE) Date: Mon, 14 May 2012 08:03:19 -0500 Subject: Hi Message-ID: <4996280B-2A58-4335-817D-4579ECAE487E@espe.edu.ec> Hi, I am a professor in ESPE University in Ecuador (www.espe.edu.ec) and i am very worried because Scilab in many months don?t liberate a new version or update. I and my students use Scilab and if the scilab?s proyect had finished for this silence we are very sad to return to Matlab. Scilab is a very important proyect for us and i am very sure for many researchers around the world. Thanks for your answer Prof. Pa?l Ayala T. DEEE-ESPE -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Mon May 14 16:42:14 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Mon, 14 May 2012 16:42:14 +0200 Subject: [scilab-Users] Hi In-Reply-To: <4996280B-2A58-4335-817D-4579ECAE487E@espe.edu.ec> References: <4996280B-2A58-4335-817D-4579ECAE487E@espe.edu.ec> Message-ID: <4FB119C6.4080902@scilab-enterprises.com> On 14/05/2012 15:03, Paul Ayala-ESPE wrote: > Hi, > > I am a professor in ESPE University in Ecuador (www.espe.edu.ec > ) and i am very worried because Scilab in many > months don?t liberate a new version or update. I and my students use > Scilab and if the scilab?s proyect had finished for this silence we > are very sad to return to Matlab. > Scilab is a very important proyect for us and i am very sure for many > researchers around the world. > Thanks for your answer > > Sorry about the delay for the next release. You can use the version 5.4.0 alpha 1. It is pretty stable. Until we produce a new release, you can also use the nightly builds. Sylvestre -------------- next part -------------- An HTML attachment was scrubbed... URL: From julie.paul at scilab.org Mon May 14 16:42:40 2012 From: julie.paul at scilab.org (Julie PAUL) Date: Mon, 14 May 2012 16:42:40 +0200 Subject: [scilab-Users] Hi In-Reply-To: <4996280B-2A58-4335-817D-4579ECAE487E@espe.edu.ec> References: <4996280B-2A58-4335-817D-4579ECAE487E@espe.edu.ec> Message-ID: Dear Sir, We are currently working on Scilab 5.4.0 version. This version includes major improvements in graphics functionalities of Scilab, complete refactoring of Scilab GUI with a Matlab-like look & feel, new XML read/write features, etc. and represents a huge amount of work which explains the elapsed time between the releases. Scilab R&D team is working hard on it and apologizes for the delay. We plan to release a beta version of it shortly and a final version in a couple of months. Thanks for your support Best Regards -- Julie PAUL Communication & Public Relations Scilab Consortium (Digiteo) Phone: +33.1.39.63.55.26 Le 14 mai 2012 ? 15:03, Paul Ayala-ESPE a ?crit : > Hi, > > I am a professor in ESPE University in Ecuador (www.espe.edu.ec) and i am very worried because Scilab in many months don?t liberate a new version or update. I and my students use Scilab and if the scilab?s proyect had finished for this silence we are very sad to return to Matlab. > Scilab is a very important proyect for us and i am very sure for many researchers around the world. > Thanks for your answer > > > Prof. Pa?l Ayala T. > DEEE-ESPE > > > From viniciussucupira at gmail.com Mon May 14 19:42:32 2012 From: viniciussucupira at gmail.com (email1018) Date: Mon, 14 May 2012 10:42:32 -0700 (PDT) Subject: ANOVA Message-ID: <1337017352947-3986297.post@n3.nabble.com> I would like know please how to calculate in Scilab ANOVA (alfa 0,01) for: http://mailinglists.scilab.org/file/n3986297/ANOVA.jpg -- View this message in context: http://mailinglists.scilab.org/ANOVA-tp3986297.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rverdivenezuela at gmail.com Mon May 14 21:11:20 2012 From: rverdivenezuela at gmail.com (Romina) Date: Mon, 14 May 2012 19:11:20 +0000 (UTC) Subject: Bry Boschan con datos anuales Message-ID: Hola Cristian, yo tambi?n estoy trabajando por aqu? con esa periodicidad de frecuencia para el caso venezolano (quiz?s estemos usando la misma database). Please, also i need a rotine for grocer, for bry boschan with anual data. I sorry, but my english is very bad. Saludos y muchas gracias Romina obs;Venezuela 1960;0,0190463944 1961;-0,0219413941 1962;-0,0208176465 1963;-0,0253184129 1964;-0,0230155668 1965;-0,0090037976 1966;-0,020544639 1967;0,0099914132 1968;0,0247063096 1969;0,0296440867 1970;0,0773287179 1971;0,0485157358 1972;0,0048393857 1973;0,0292467555 1974;-0,0022524605 1975;-0,0482560358 1976;-0,0383552193 1977;-0,0393726993 1978;-0,0278326121 1979;0,001194633 1980;0,0120409528 1981;0,0331523179 1982;0,0036292893 1983;-0,0101300953 1984;0,0306949092 1985;0,0054433485 1986;-0,0073376805 1987;-0,0194805146 1988;-0,0291701136 1989;-0,0423936322 1990;-0,0460155242 1991;0,0256526932 1992;0,0639006579 1993;0,0492254811 1994;0,002638267 1995;0,0232228653 1996;0,0033697431 1997;0,0572631385 1998;0,0457585925 1999;-0,0354609855 2000;-0,0224162718 2001;-0,0122973331 2002;-0,1034960732 2003;-0,2031454227 2004;-0,0615243514 2005;0,0348846252 2006;0,073958235 2007;0,1132623597 2008;0,1107952986 2009;0,0216767275 2010;-0,0359876309 2011;-0,049516821 From c_rabanal0 at yahoo.com.ar Mon May 14 21:43:48 2012 From: c_rabanal0 at yahoo.com.ar (Cristian) Date: Mon, 14 May 2012 19:43:48 +0000 (UTC) Subject: Bry Boschan - Annual Data References: Message-ID: Hi ?ric, i sorry, but i had not seen your reply. I to do with your routine, i see this error. !--error 10000 function brybos works only with ts at line 65 of function brybos called by : brybos('Australia','M=4','m=0.03','e=1','k=2','proc=''bb''') Could you help me? Thank you very much!! Regards Cristian Rabanal From grocer.toolbox at gmail.com Mon May 14 22:16:23 2012 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Mon, 14 May 2012 22:16:23 +0200 Subject: [scilab-Users] Re: Bry Boschan - Annual Data In-Reply-To: References: Message-ID: This is because you did not use the modified txt file I sent you. If you use Scialb database that I have created with this file (through impexc2bd) and which I attach, you should not have problems anymore. Eric. 2012/5/14 Cristian > Hi ?ric, i sorry, but i had not seen your reply. I to do with your > routine, i > see this error. > > !--error 10000 > function brybos works only with ts > at line 65 of function brybos called by : > brybos('Australia','M=4','m=0.03','e=1','k=2','proc=''bb''') > > Could you help me? > Thank you very much!! > > Regards > Cristian Rabanal > > > > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: australia.dat Type: application/octet-stream Size: 1320 bytes Desc: not available URL: From grocer.toolbox at gmail.com Mon May 14 22:28:09 2012 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Mon, 14 May 2012 22:28:09 +0200 Subject: [scilab-Users] Bry Boschan con datos anuales In-Reply-To: References: Message-ID: Hello Romina. Use the attached txt file, stored say in a folder c:/data and run: --> impexc2bd('C:\data\Venezuela_data.txt',';','C:\data\Venezuela_data.dat') --> load('C:\data\Venezuela_data.dat') --> brybos('Venezuela','M=4','m=0.03','e=1','k=2','proc=''bb''') ?ric. 2012/5/14 Romina > Hola Cristian, yo tambi?n estoy trabajando por aqu? con esa periodicidad de > frecuencia para el caso venezolano (quiz?s estemos usando la misma > database). > > Please, also i need a rotine for grocer, for bry boschan with anual data. I > sorry, but my english is very bad. > > Saludos y muchas gracias > > Romina > > > obs;Venezuela > 1960;0,0190463944 > 1961;-0,0219413941 > 1962;-0,0208176465 > 1963;-0,0253184129 > 1964;-0,0230155668 > 1965;-0,0090037976 > 1966;-0,020544639 > 1967;0,0099914132 > 1968;0,0247063096 > 1969;0,0296440867 > 1970;0,0773287179 > 1971;0,0485157358 > 1972;0,0048393857 > 1973;0,0292467555 > 1974;-0,0022524605 > 1975;-0,0482560358 > 1976;-0,0383552193 > 1977;-0,0393726993 > 1978;-0,0278326121 > 1979;0,001194633 > 1980;0,0120409528 > 1981;0,0331523179 > 1982;0,0036292893 > 1983;-0,0101300953 > 1984;0,0306949092 > 1985;0,0054433485 > 1986;-0,0073376805 > 1987;-0,0194805146 > 1988;-0,0291701136 > 1989;-0,0423936322 > 1990;-0,0460155242 > 1991;0,0256526932 > 1992;0,0639006579 > 1993;0,0492254811 > 1994;0,002638267 > 1995;0,0232228653 > 1996;0,0033697431 > 1997;0,0572631385 > 1998;0,0457585925 > 1999;-0,0354609855 > 2000;-0,0224162718 > 2001;-0,0122973331 > 2002;-0,1034960732 > 2003;-0,2031454227 > 2004;-0,0615243514 > 2005;0,0348846252 > 2006;0,073958235 > 2007;0,1132623597 > 2008;0,1107952986 > 2009;0,0216767275 > 2010;-0,0359876309 > 2011;-0,049516821 > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From c_rabanal0 at yahoo.com.ar Tue May 15 02:52:15 2012 From: c_rabanal0 at yahoo.com.ar (Cristian) Date: Tue, 15 May 2012 00:52:15 +0000 (UTC) Subject: Bry Boschan - Annual Data References: Message-ID: ?ric: Thank you very much!!! Your help has been very important. Thank for your patience in explaining!! Greetings from Argentina Cristian From thalesjacques at gmail.com Tue May 15 03:44:39 2012 From: thalesjacques at gmail.com (Thales Jacques) Date: Mon, 14 May 2012 18:44:39 -0700 (PDT) Subject: Linking Delphi DLL with Scilab In-Reply-To: <4FAA1641.2030101@amsterchem.com> References: <4FA8F0A3.4000301@limsi.fr> <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> <4FA93EBA.8060006@amsterchem.com> <1336492456438-3971724.post@n3.nabble.com> <1336513618306-3972593.post@n3.nabble.com> <4FAA1641.2030101@amsterchem.com> Message-ID: <1337046279415-3987186.post@n3.nabble.com> Hello Folks, Here is the the solution for the problem (thank you for everybody that posted parts of the puzzle): 1. Yes, you can link DLL's compiled in Delphi. 2. Make sure that you running a compatible version of Scilab. If the DLL is 32 bits, you must use Scilab 32 bits to link the DLL. You can run Scilab 32 bits in a 64 bits environment and link to a 32 bits DLL; this is not a problem. 3. Use Dependency Walker (www.dependencywalker.com) to verify if your DLL is exposing all the functions/procedures you need to execute. If you can not see the function/procedure then it will not work in Scilab. Go back to Delphi and re-compile. 4. Use: cd C:\; //do this or just have the full path on the next line functions=["function1";"function2";]; //replace the strings by the name of the function inside the DLL; no need for "_" or any other special character; a=link('YourDLLName.dll',functions,'c'); here, if it returns an integer, you are good. You will see the message: Shared archive loaded. Link done. If you have the message below, make sure you have the name of your function correct. Dependency Walker can help with that. Shared archive loaded. Link done. is not an entry point. !--error 235 link: problem with one of the entry point. If you see this other message below, make sure you are pointing to the correct directory: !--error 236 link: The shared archive was not loaded: The filename, directory name, or volume label syntax is incorrect. 5. Use the command below to see if your library the correctly linked and which functions/procedures are linked: lstID = link("show"); 6. lst = link() returns the functions that are linked. 7. ulink(a) will remove the link to your library. "a" is the integer returned when you executed a=link('YourDLLName.dll',functions,'c') and you can see the values for "a" in the vector returned by lstID = link("show"); 8. Use call() to execute the function in your DLL. Go to the help for call (for novices, just type "help call") to see how to use it. Yes, spend good 10 minutes trying to understand it. It is easy, but you will not learn in 5 seconds. Tip: you must use a matrix to return the output of the function/procedure you are calling. If it is just an integer, it will be a 1x1 matrix. Just make sure you understand what "help call" is trying to teach you. notes: I had to re-install my 32 bits version of Scilab to make it work. I don't know why. I've been chasing this information for a good few days now. I hope this will help some people in the future. I am still working on my project and I will post updates here, if any. -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p3987186.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From viniciussucupira at gmail.com Tue May 15 06:32:15 2012 From: viniciussucupira at gmail.com (email1018) Date: Mon, 14 May 2012 21:32:15 -0700 (PDT) Subject: Two questions Message-ID: <1337056335009-3987382.post@n3.nabble.com> Please, help me solve in Scilab Question one: x^2-3y^2=1 4x^2+3y^2=19 and separately, 3x+2y+z=4 2x-3y-z=5 when x equals any real number. Question two: [(x-2)/(x-4)]>[(x+2)/x] Regards Vinicius -- View this message in context: http://mailinglists.scilab.org/Two-questions-tp3987382.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From papriwalprateek at gmail.com Tue May 15 08:00:38 2012 From: papriwalprateek at gmail.com (prateek papriwal) Date: Tue, 15 May 2012 11:30:38 +0530 Subject: Error while loading the module 'distfun' Message-ID: i am able to load several other modules but i get an error while i load distfun the error is -- -->atomsLoad('distfun'); Start Distfun Load macros Load gateways atomsLoad: An error occurred while loading 'distfun-0.2-1': link: The shared archive was not loaded: /home/hp/scilab-5.3.3/share/scilab/contrib/distfun/0.2-1/sci_gateway/c//../../src/c/libdistfun_c.so: cannot open shared object file: No such file or directory !--error 10000 at line 337 of function atomsLoad called by : atomsLoad('distfun'); This is what i get on loading distfun module -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Tue May 15 09:54:27 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Tue, 15 May 2012 09:54:27 +0200 Subject: [scilab-Users] Two questions In-Reply-To: <1337056335009-3987382.post@n3.nabble.com> References: <1337056335009-3987382.post@n3.nabble.com> Message-ID: <4FB20BB3.5000007@inria.fr> These equation can easily be solved manually by variable elimination. Serge Steer INRIA Le 15/05/2012 06:32, email1018 a ?crit : > Please, help me solve in Scilab > > Question one: > > x^2-3y^2=1 > 4x^2+3y^2=19 > > and separately, > > 3x+2y+z=4 > 2x-3y-z=5 > when x equals any real number. > > Question two: > [(x-2)/(x-4)]>[(x+2)/x] > > Regards > Vinicius > > -- > View this message in context: http://mailinglists.scilab.org/Two-questions-tp3987382.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > From anthony.daclin at velux.com Tue May 15 14:02:33 2012 From: anthony.daclin at velux.com (anthony_daclin) Date: Tue, 15 May 2012 05:02:33 -0700 (PDT) Subject: wigner-ville transfrom for time-frequency analysis Message-ID: <1337083353987-3987871.post@n3.nabble.com> Hi, Just a short note to ask: What it the best time-frequency tool available in Scilab? As far as I know, the best one are probably : wigner ( for Wigner-Ville transfrom) and mapsound. I also wonder what type of transform is used in mapsound ? What type of wigner transform is used in Scilab? And also if someone have some examples of Wigner-Ville utilisation. I try to use Wigner-Ville, it works quite well, but when I change the parameters my curve disappear beacause I do not use it correctly. Thank you for the interest on my topic. Regards, Anthony -- View this message in context: http://mailinglists.scilab.org/wigner-ville-transfrom-for-time-frequency-analysis-tp3987871.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Serge.Steer at inria.fr Tue May 15 14:42:33 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Tue, 15 May 2012 14:42:33 +0200 Subject: [scilab-Users] wigner-ville transfrom for time-frequency analysis In-Reply-To: <1337083353987-3987871.post@n3.nabble.com> References: <1337083353987-3987871.post@n3.nabble.com> Message-ID: <4FB24F39.8020208@inria.fr> You may found a lot of time-frequency algorithme for Scilab in the Time Frequency toolbox that is available as an atoms module. Serge Steer Le 15/05/2012 14:02, anthony_daclin a ?crit : > Hi, > > Just a short note to ask: > > What it the best time-frequency tool available in Scilab? > > As far as I know, the best one are probably : wigner ( for Wigner-Ville > transfrom) and mapsound. > > I also wonder what type of transform is used in mapsound ? > > What type of wigner transform is used in Scilab? > > And also if someone have some examples of Wigner-Ville utilisation. > > I try to use Wigner-Ville, it works quite well, but when I change the > parameters my curve disappear beacause I do not use it correctly. > > Thank you for the interest on my topic. > Regards, > > Anthony > > -- > View this message in context: http://mailinglists.scilab.org/wigner-ville-transfrom-for-time-frequency-analysis-tp3987871.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > From viniciussucupira at gmail.com Tue May 15 14:57:26 2012 From: viniciussucupira at gmail.com (email1018) Date: Tue, 15 May 2012 05:57:26 -0700 (PDT) Subject: Two questions In-Reply-To: <4FB20BB3.5000007@inria.fr> References: <1337056335009-3987382.post@n3.nabble.com> <4FB20BB3.5000007@inria.fr> Message-ID: <1337086646510-3987952.post@n3.nabble.com> I know solve in HP 50g, but I would like know please how to solve in Scilab http://mailinglists.scilab.org/file/n3987952/1.jpg http://mailinglists.scilab.org/file/n3987952/2.jpg -- View this message in context: http://mailinglists.scilab.org/Two-questions-tp3987382p3987952.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Tue May 15 15:01:40 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 15 May 2012 15:01:40 +0200 Subject: [scilab-Users] Re: Two questions In-Reply-To: <1337086646510-3987952.post@n3.nabble.com> References: <1337056335009-3987382.post@n3.nabble.com> <4FB20BB3.5000007@inria.fr> <1337086646510-3987952.post@n3.nabble.com> Message-ID: <4FB253B4.8060207@scilab-enterprises.com> Please read Scilab documentations: http://help.scilab.org/ http://www.scilab.org/support/documentation/tutorials Sylvestre On 15/05/2012 14:57, email1018 wrote: > I know solve in HP 50g, but I would like know please how to solve in Scilab > > http://mailinglists.scilab.org/file/n3987952/1.jpg > > http://mailinglists.scilab.org/file/n3987952/2.jpg > > -- > View this message in context: http://mailinglists.scilab.org/Two-questions-tp3987382p3987952.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -- ----------------------------- Sylvestre Ledru Operation manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From cwarner.cw711 at gmail.com Tue May 15 15:13:20 2012 From: cwarner.cw711 at gmail.com (Charles Warner) Date: Tue, 15 May 2012 08:13:20 -0500 Subject: [scilab-Users] wigner-ville transfrom for time-frequency analysis In-Reply-To: <4FB24F39.8020208@inria.fr> References: <1337083353987-3987871.post@n3.nabble.com> <4FB24F39.8020208@inria.fr> Message-ID: You might be Interested in the old "Signal Processing in Scilab", available here . Charlie On Tue, May 15, 2012 at 7:42 AM, Serge Steer wrote: > You may found a lot of time-frequency algorithme for Scilab in the Time > Frequency toolbox that is available as an atoms module. > > Serge Steer > > Le 15/05/2012 14:02, anthony_daclin a ?crit : > > Hi, >> >> Just a short note to ask: >> >> What it the best time-frequency tool available in Scilab? >> >> As far as I know, the best one are probably : wigner ( for Wigner-Ville >> transfrom) and mapsound. >> >> I also wonder what type of transform is used in mapsound ? >> >> What type of wigner transform is used in Scilab? >> >> And also if someone have some examples of Wigner-Ville utilisation. >> >> I try to use Wigner-Ville, it works quite well, but when I change the >> parameters my curve disappear beacause I do not use it correctly. >> >> Thank you for the interest on my topic. >> Regards, >> >> Anthony >> >> -- >> View this message in context: http://mailinglists.scilab.** >> org/wigner-ville-transfrom-**for-time-frequency-analysis-**tp3987871.html >> Sent from the Scilab users - Mailing Lists Archives mailing list archive >> at Nabble.com. >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.**scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.**org/ >> >> >> > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.**scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.**org/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From w.schulz at ove.at Tue May 15 17:52:55 2012 From: w.schulz at ove.at (W.Schulz) Date: Tue, 15 May 2012 08:52:55 -0700 (PDT) Subject: SCILAB 5.4 Message-ID: <1337097175368-3988337.post@n3.nabble.com> Hello, Any news when the new SCILAB version will be ready? Thanks! Wolfgang -- View this message in context: http://mailinglists.scilab.org/SCILAB-5-4-tp3988337.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Tue May 15 17:58:46 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 15 May 2012 17:58:46 +0200 Subject: [scilab-Users] SCILAB 5.4 In-Reply-To: <1337097175368-3988337.post@n3.nabble.com> References: <1337097175368-3988337.post@n3.nabble.com> Message-ID: <4FB27D36.4050907@scilab-enterprises.com> See the thread of yesterday: http://mailinglists.scilab.org/Hi-td3985876.html Sylvestre On 15/05/2012 17:52, W.Schulz wrote: > Hello, > Any news when the new SCILAB version will be ready? > Thanks! > Wolfgang > > -- > View this message in context: http://mailinglists.scilab.org/SCILAB-5-4-tp3988337.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -- ----------------------------- Sylvestre Ledru Operation manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From cjep at bigpond.net.au Wed May 16 01:10:09 2012 From: cjep at bigpond.net.au (Christopher Phillips) Date: Wed, 16 May 2012 09:10:09 +1000 Subject: Scilab Mac OSX Problem References: <4FB0B12C.3090409@scilab-enterprises.com> Message-ID: > > >> Hello, >> >> I have just down loaded Scilab Version 5.4.0 - alpha-1 on to my Mac, which is running OS X version 10.7.4. >> >> However, I have a problem in that although I can run command line functions and programs, the Scilab Console has an odd format in that digits are separated by spaces and the number "1" appears as raised dot (rather like, but NOT the same as, an apostrophe ) for example the copyright number appears as ' 9 8 9 - 2 0 ' ', where I have used the apostrophe to indicate the dot. >> >> The letters and words in the Console are not affected and the Editor is normal for both letters and numbers. >> >> Do I have to set a numeric format or something else to fix this problem? >> >> Thank you very much for helping. For your information, I am a retired lecturer in Electrical Engineering from the University of NSW, Sydney and have had many years experience with Matlab. >> >> Kind regards, >> >> Chris Phillips > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Wed May 16 20:08:10 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Wed, 16 May 2012 20:08:10 +0200 Subject: [scilab-Users] Error while loading the module 'distfun' In-Reply-To: References: Message-ID: <4FB3ED0A.9000909@scilab-enterprises.com> On 15/05/2012 08:00, prateek papriwal wrote: > i am able to load several other modules but i get an error while i > load distfun > > the error is -- > > -->atomsLoad('distfun'); > > Start Distfun > Load macros > Load gateways > atomsLoad: An error occurred while loading 'distfun-0.2-1': > link: The shared archive was not loaded: > /home/hp/scilab-5.3.3/share/scilab/contrib/distfun/0.2-1/sci_gateway/c//../../src/c/libdistfun_c.so: > cannot open shared object file: No such file or directory > !--error 10000 Could you report a bug ? Thanks, Sylvestre From cjep at bigpond.net.au Sat May 19 07:24:12 2012 From: cjep at bigpond.net.au (Christopher Phillips) Date: Sat, 19 May 2012 15:24:12 +1000 Subject: Scilab Mac OSX Problem References: <4FB0B12C.3090409@scilab-enterprises.com> Message-ID: <8C04F042-0C77-43A9-AB43-D162B629AE89@bigpond.net.au> > > >> Hello, >> >> I have just down loaded Scilab Version 5.4.0 - alpha-1 on to my Mac, which is running OS X version 10.7.4. >> >> However, I have a problem in that although I can run command line functions and programs, the Scilab Console has an odd format in that digits are separated by spaces and the number "1" appears as raised dot (rather like, but NOT the same as, an apostrophe ) for example the copyright number appears as ' 9 8 9 - 2 0 ' ', where I have used the apostrophe to indicate the dot. >> >> The letters and words in the Console are not affected and the Editor is normal for both letters and numbers. >> >> Do I have to set a numeric format or something else to fix this problem? >> >> Thank you very much for helping. For your information, I am a retired lecturer in Electrical Engineering from the University of NSW, Sydney and have had many years experience with Matlab. >> >> Kind regards, >> >> Chris Phillips > -------------- next part -------------- An HTML attachment was scrubbed... URL: From breitu at arcor.de Sat May 19 08:06:15 2012 From: breitu at arcor.de (breitu) Date: Fri, 18 May 2012 23:06:15 -0700 (PDT) Subject: Exporting graphics: black square in vector formats In-Reply-To: <1336397268962-3968531.post@n3.nabble.com> References: <1334081226417-3900454.post@n3.nabble.com> <1336397268962-3968531.post@n3.nabble.com> Message-ID: <1337407575014-4001954.post@n3.nabble.com> Hi, maybe my answer is much too late. I had the same problem (running Xubuntu 10.4 Linux). I read the "help usecanvas", where it is written, switching to "vesa" graphics mode solves problems with graphics. I did this and then the produced pictures were ok.! Ciao Karl -- View this message in context: http://mailinglists.scilab.org/Exporting-graphics-black-square-in-vector-formats-tp3900454p4001954.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Sat May 19 08:22:29 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sat, 19 May 2012 08:22:29 +0200 Subject: [scilab-Users] Scilab Mac OSX Problem In-Reply-To: <8C04F042-0C77-43A9-AB43-D162B629AE89@bigpond.net.au> References: <4FB0B12C.3090409@scilab-enterprises.com> <8C04F042-0C77-43A9-AB43-D162B629AE89@bigpond.net.au> Message-ID: <4FB73C25.2040302@scilab-enterprises.com> Hello Christopher, We saw your messages. No need to resend it many times. If you believe it is a bug, please report a bug: http://bugzilla.scilab.org/ Sylvestre On 19/05/2012 07:24, Christopher Phillips wrote: > > >> >> >>> Hello, >>> >>> I have just down loaded Scilab Version 5.4.0 - alpha-1 on to my Mac, >>> which is running OS X version 10.7.4. >>> >>> However, I have a problem in that although I can run command line >>> functions and programs, the Scilab Console has an odd format in >>> that digits are separated by spaces and the number "1" appears as >>> raised dot (rather like, but NOT the same as, an apostrophe ) for >>> example the copyright number appears as ' 9 8 9 - 2 0 ' ', where I >>> have used the apostrophe to indicate the dot. >>> >>> The letters and words in the Console are not affected and the >>> Editor is normal for both letters and numbers. >>> >>> Do I have to set a numeric format or something else to fix this problem? >>> >>> Thank you very much for helping. For your information, I am a >>> retired lecturer in Electrical Engineering from the University of >>> NSW, Sydney and have had many years experience with Matlab. >>> >>> Kind regards, >>> >>> Chris Phillips >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jml at unice.fr Sat May 19 17:07:18 2012 From: jml at unice.fr (jml) Date: Sat, 19 May 2012 08:07:18 -0700 (PDT) Subject: Exporting graphics: black square in vector formats In-Reply-To: <1337407575014-4001954.post@n3.nabble.com> References: <1334081226417-3900454.post@n3.nabble.com> <1336397268962-3968531.post@n3.nabble.com> <1337407575014-4001954.post@n3.nabble.com> Message-ID: <4FB7B71B.5060204@unice.fr> Le 19/05/12 08:06, breitu [via Scilab / Xcos - Mailing Lists Archives] a ?crit : > Hi, > maybe my answer is much too late. > I had the same problem (running Xubuntu 10.4 Linux). > I read the "help usecanvas", where it is written, switching to "vesa" > graphics mode solves > problems with graphics. > I did this and then the produced pictures were ok.! > > Ciao > Karl > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://mailinglists.scilab.org/Exporting-graphics-black-square-in-vector-formats-tp3900454p4001954.html > > To unsubscribe from Exporting graphics: black square in vector > formats, click here > . > NAML > > No it's not. I'm very grateful for your explanations. Thanks a lot. Meantime i used scilab 5.3.3 installed on a Centos 6.2 64 bits, using vglconnect from my Ubuntu 10.10 client, then use vglrun scilab. It works fine without any black square, when exporting to any vector format. This way you can run opengl applications remotely, the rendering is made on the server. JM -- View this message in context: http://mailinglists.scilab.org/Exporting-graphics-black-square-in-vector-formats-tp3900454p4002364.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Suzanne.Touzeau at jouy.inra.fr Mon May 21 12:22:45 2012 From: Suzanne.Touzeau at jouy.inra.fr (stouzeau) Date: Mon, 21 May 2012 03:22:45 -0700 (PDT) Subject: Exporting graphics: black square in vector formats In-Reply-To: <1337407575014-4001954.post@n3.nabble.com> References: <1334081226417-3900454.post@n3.nabble.com> <1336397268962-3968531.post@n3.nabble.com> <1337407575014-4001954.post@n3.nabble.com> Message-ID: <1337595765452-4004644.post@n3.nabble.com> Hi, Thanks for your answer! Due to a recent version of ubuntu (xubuntu 11.10), I have no /etc/X11/xorg.conf file, which is where you should select the "vesa" driver. I will try generate a new one and see if it solves the problem. If not, I can always wait for the new Scilab release. The "black square problem" is a reported bug that has been fixed: http://bugzilla.scilab.org/show_bug.cgi?id=10567 ST -- View this message in context: http://mailinglists.scilab.org/Exporting-graphics-black-square-in-vector-formats-tp3900454p4004644.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From breitu at arcor.de Mon May 21 16:03:14 2012 From: breitu at arcor.de (breitu) Date: Mon, 21 May 2012 07:03:14 -0700 (PDT) Subject: Exporting graphics: black square in vector formats In-Reply-To: <1337595765452-4004644.post@n3.nabble.com> References: <1334081226417-3900454.post@n3.nabble.com> <1336397268962-3968531.post@n3.nabble.com> <1337407575014-4001954.post@n3.nabble.com> <1337595765452-4004644.post@n3.nabble.com> Message-ID: <1337608994548-4004886.post@n3.nabble.com> You can force vesa following this explanation: http://askubuntu.com/questions/53279/how-to-set-xforcevesa No xorg.conf needed.. Ciao Karl -- View this message in context: http://mailinglists.scilab.org/Exporting-graphics-black-square-in-vector-formats-tp3900454p4004886.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From b.benes at gmail.com Tue May 22 02:02:25 2012 From: b.benes at gmail.com (benedito timoteo) Date: Mon, 21 May 2012 21:02:25 -0300 Subject: GraphicsMagic1.3.15-windows-source in Scilab- 5.3.3 Message-ID: Hello everybody I am very new in Scilab-5.3.3 and I want to use GraphicsMagick, particularly the libtiff that GM has. Is there a way to use it as if it were a Scilab module? Or use only libtiff in some way? I appreciate and will be very grateful for any help. Best regards b.benes -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Tue May 22 09:24:52 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 22 May 2012 09:24:52 +0200 Subject: [scilab-Users] GraphicsMagic1.3.15-windows-source in Scilab- 5.3.3 In-Reply-To: References: Message-ID: <4FBB3F44.8090806@laas.fr> On 22/05/2012 02:02, benedito timoteo wrote: > Hello everybody > > I am very new in Scilab-5.3.3 and I want to use GraphicsMagick, > particularly the libtiff that GM has. Is there a way to use it as if it > were a Scilab module? > > Or use only libtiff in some way? I appreciate and will be very grateful for > any help. > > Best regards > > b.benes > There are several image processing toolboxes in scilab like SIP, SIVP and IPDT: http://atoms.scilab.org/categories/image_processing I personnaly use SIVP and it works great for reading images in Scilab. If the feature you are looking for is not available in SIVP, you can also directly call libtiff. I did it for reading 16bit tiff images, but it's a complete mess for the moment. If I find time to rewrite it, I can try to post the code here. Antoine -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamalfardomid at yahoo.com Tue May 22 10:09:04 2012 From: jamalfardomid at yahoo.com (Jamalfard Omid) Date: Tue, 22 May 2012 01:09:04 -0700 (PDT) Subject: omid of iran Message-ID: <1337674144.53338.YahooMailNeo@web114504.mail.gq1.yahoo.com> hi, i m from iran , i study final year in control eng. i m interested to work on theBacterial Foraging-Based Solution for Optimal Capacitor Allocation in Distribution Systems . I hope . Thank's you -------------- next part -------------- An HTML attachment was scrubbed... URL: From holgernahrstaedt at gmx.de Tue May 22 12:01:38 2012 From: holgernahrstaedt at gmx.de (nahrstaedt) Date: Tue, 22 May 2012 03:01:38 -0700 (PDT) Subject: ANOVA In-Reply-To: <1337017352947-3986297.post@n3.nabble.com> References: <1337017352947-3986297.post@n3.nabble.com> Message-ID: <1337680898265-4006366.post@n3.nabble.com> I added some statistical test to the nan toolbox http://atoms.scilab.org/toolboxes/nan/: x=[17,25,22,26;19,27,21,24;20,18,19,30;24,22,26,28]; nan_anova(x,0.01); One-way ANOVA Table: Source of Variation Sum of Squares df Empirical Var ********************************************************* Between Groups 104.0000 3 34.6667 Within Groups 118.0000 12 9.8333 --------------------------------------------------------- Total 222.0000 15 Test Statistic f 3.5254 p-value 0.0487 Fcrit (alpha=0.0100) 5.9525 -- View this message in context: http://mailinglists.scilab.org/ANOVA-tp3986297p4006366.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From holgernahrstaedt at gmx.de Tue May 22 12:04:36 2012 From: holgernahrstaedt at gmx.de (nahrstaedt) Date: Tue, 22 May 2012 03:04:36 -0700 (PDT) Subject: wigner-ville transfrom for time-frequency analysis In-Reply-To: References: <1337083353987-3987871.post@n3.nabble.com> <4FB24F39.8020208@inria.fr> Message-ID: <1337681076181-4006370.post@n3.nabble.com> Have a look at http://atoms.scilab.org/toolboxes/stftb and go through the demos. -- View this message in context: http://mailinglists.scilab.org/wigner-ville-transfrom-for-time-frequency-analysis-tp3987871p4006370.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From b.benes at gmail.com Tue May 22 18:06:10 2012 From: b.benes at gmail.com (benedito timoteo) Date: Tue, 22 May 2012 13:06:10 -0300 Subject: =?ISO-8859-1?Q?Function_path_doesn=B4t_exist?= Message-ID: Hello everybody I needed a funtion path and got this: -->path=get_function_path('mgw_buildLib') path = C:\Users\Bennes\AppData\Roaming\Scilab\SCILAB~1.3\atoms\mingw\0.8-1\macros\mgw_buildLib.sci The strange thing is that "\AppData\Roaming\Scilab\SCILAB~1.3\atoms\mingw\0.8-1\macros\mgw_buildLib.sci" doesn?t exist in my computer. Any sugestions? Thanks for any help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Tue May 22 18:39:45 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 22 May 2012 18:39:45 +0200 Subject: [scilab-Users] Function path =?ISO-8859-1?Q?doesn=B4t_exis?= =?ISO-8859-1?Q?t?= In-Reply-To: References: Message-ID: <4FBBC151.5090109@centre-cired.fr> On 22/05/2012 18:06, benedito timoteo wrote: > Hello everybody > > I needed a funtion path and got > this: -->path=get_function_path('mgw_buildLib') > > path = > C:\Users\Bennes\AppData\Roaming\Scilab\SCILAB~1.3\atoms\mingw\0.8-1\macros\mgw_buildLib.sci > > > The strange thing is that > "\AppData\Roaming\Scilab\SCILAB~1.3\atoms\mingw\0.8-1\macros\mgw_buildLib.sci" > doesn?t exist in my computer. > > Any sugestions? Thanks for any help. > hi it's probably hidden have alook at this: http://windows.microsoft.com/en-us/windows7/Show-hidden-files -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.benes at gmail.com Tue May 22 20:04:17 2012 From: b.benes at gmail.com (benes) Date: Tue, 22 May 2012 11:04:17 -0700 (PDT) Subject: =?UTF-8?Q?Re:_Function_path_doesn=C2=B4t_exist?= In-Reply-To: <4FBBC151.5090109@centre-cired.fr> References: <4FBBC151.5090109@centre-cired.fr> Message-ID: <1337709857456-4007135.post@n3.nabble.com> Hi That?s right. The folder was hidden. Thank you very much. -- View this message in context: http://mailinglists.scilab.org/Function-path-doesn-t-exist-tp4006940p4007135.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From b.benes at gmail.com Tue May 22 20:27:31 2012 From: b.benes at gmail.com (benes) Date: Tue, 22 May 2012 11:27:31 -0700 (PDT) Subject: GraphicsMagic1.3.15-windows-source in Scilab- 5.3.3 In-Reply-To: <4FBB3F44.8090806@laas.fr> References: <4FBB3F44.8090806@laas.fr> Message-ID: <1337711251506-4007177.post@n3.nabble.com> Hi. I?d like to call libtiff from Scilab but I don?t know how. Where do I put litiff and How do I call it? Another thing: I have libtiff-4.1 and Libtiff.NET. Which one better suited for Scilab? Thanks for your help. -- View this message in context: http://mailinglists.scilab.org/GraphicsMagic1-3-15-windows-source-in-Scilab-5-3-3-tp4006029p4007177.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Tue May 22 20:58:09 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 22 May 2012 20:58:09 +0200 Subject: [scilab-Users] Re: GraphicsMagic1.3.15-windows-source in Scilab- 5.3.3 In-Reply-To: <1337711251506-4007177.post@n3.nabble.com> References: <4FBB3F44.8090806@laas.fr> <1337711251506-4007177.post@n3.nabble.com> Message-ID: <4FBBE1C1.2020802@laas.fr> Le 22/05/12 20:27, benes a ?crit : > Hi. I?d like to call libtiff from Scilab but I don?t know how. Where do I put > litiff and How do I call it? well, it's a convoluted process, you need to write a function (in C) and then make a wrapper that call this function and check everything fits scilab requirements. I have to work on my horrible code to be able to post it here. > > Another thing: I have libtiff-4.1 and Libtiff.NET. Which one better suited > for Scilab? I don't know. I have only used it on linux, so it was clearly not the .NET version ;-) But the way you compile and link it in scilab makes it fairly cross platform. Antoine > > Thanks for your help. > > -- > View this message in context: http://mailinglists.scilab.org/GraphicsMagic1-3-15-windows-source-in-Scilab-5-3-3-tp4006029p4007177.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > From rfabbri at gmail.com Tue May 22 21:19:20 2012 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Tue, 22 May 2012 16:19:20 -0300 Subject: [scilab-Users] Re: GraphicsMagic1.3.15-windows-source in Scilab- 5.3.3 In-Reply-To: <4FBBE1C1.2020802@laas.fr> References: <4FBB3F44.8090806@laas.fr> <1337711251506-4007177.post@n3.nabble.com> <4FBBE1C1.2020802@laas.fr> Message-ID: SIP uses ImageMagick which is basically a variant of GraphicsMagick (actually the other way around). ImageMagick is actually more advanced than GraphicsMagick, but a bit harder to keep track of backward compatibility (but that's a developer's little issue). You should direct your efforts to try to install/link SIP to your scilab, then you'll have a scilab API for libtiff (and hundreds of other image format libs as well). If you are not using Linux, you can still try to see what it takes to get SIP up and running in your Operating System, since it has all the machinery required to link to an external lib like libtiff. best, Ricardo Fabbri -- Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Tue, May 22, 2012 at 3:58 PM, Antoine Monmayrant < antoine.monmayrant at laas.fr> wrote: > Le 22/05/12 20:27, benes a ?crit : > > Hi. I?d like to call libtiff from Scilab but I don?t know how. Where do I >> put >> litiff and How do I call it? >> > well, it's a convoluted process, you need to write a function (in C) and > then make a wrapper that call this function and check everything fits > scilab requirements. > I have to work on my horrible code to be able to post it here. > > >> Another thing: I have libtiff-4.1 and Libtiff.NET. Which one better suited >> for Scilab? >> > I don't know. I have only used it on linux, so it was clearly not the .NET > version ;-) > But the way you compile and link it in scilab makes it fairly cross > platform. > > Antoine > > >> Thanks for your help. >> >> -- >> View this message in context: http://mailinglists.scilab.** >> org/GraphicsMagic1-3-15-**windows-source-in-Scilab-5-3-** >> 3-tp4006029p4007177.html >> Sent from the Scilab users - Mailing Lists Archives mailing list archive >> at Nabble.com. >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.**scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.**org/ >> >> >> > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.**scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.**org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkajah at gmail.com Tue May 22 21:40:44 2012 From: dkajah at gmail.com (Daniel Penalva) Date: Tue, 22 May 2012 16:40:44 -0300 Subject: [scilab-Users] omid of iran In-Reply-To: <1337674144.53338.YahooMailNeo@web114504.mail.gq1.yahoo.com> References: <1337674144.53338.YahooMailNeo@web114504.mail.gq1.yahoo.com> Message-ID: Hi Omid, you are welcome On Tue, May 22, 2012 at 5:09 AM, Jamalfard Omid wrote: > hi, i m from iran , i study final year in control eng. i m interested to work > on theBacterial Foraging-Based Solution for Optimal > Capacitor Allocation in Distribution Systems . > I hope . Thank's you > > -- *Democracia Digital Direta Informe-se: * http://pontosdecultura.org.br/noticias/carta-democracia-direta-em-circulacao/ Daniel Penalva State related activity, currently: Phd - Physics in Institute for Theoretical Physics - http://www.ift.unesp.br/posgrad/ramais-alunos-pos.php Transparency portal: http://hera.ethymos.com.br:1080/paainel/casca/ *look for bolitutti user in Log AA/usu?rio pAAnel for my workflow* FLOSS and related ideas enthusiastic -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Tue May 22 22:16:06 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 22 May 2012 22:16:06 +0200 Subject: [scilab-Users] Re: GraphicsMagic1.3.15-windows-source in Scilab- 5.3.3 In-Reply-To: References: <4FBB3F44.8090806@laas.fr> <1337711251506-4007177.post@n3.nabble.com> <4FBBE1C1.2020802@laas.fr> Message-ID: <4FBBF406.5050303@laas.fr> Le 22/05/12 21:19, Ricardo Fabbri a ?crit : > SIP uses ImageMagick which is basically a variant of GraphicsMagick > (actually the other way around). ImageMagick is actually more advanced than > GraphicsMagick, but a bit harder to keep track of backward compatibility > (but that's a developer's little issue). > > You should direct your efforts to try to install/link SIP to your scilab, > then you'll have a scilab API for libtiff (and hundreds of other image > format libs as well). Is there support for 16bit tiff? If yes, I'll dump all my buggy code and switch back to sip... > > If you are not using Linux, you can still try to see what it takes to get > SIP up and running in your Operating System, since it has all the machinery > required to link to an external lib like libtiff. > > best, > Ricardo Fabbri > -- > Linux registered user #175401 > www.lems.brown.edu/~rfabbri > pt.wikipedia.org/wiki/IPRJ > labmacambira.sf.net > > > On Tue, May 22, 2012 at 3:58 PM, Antoine Monmayrant< > antoine.monmayrant at laas.fr> wrote: > >> Le 22/05/12 20:27, benes a ?crit : >> >> Hi. I?d like to call libtiff from Scilab but I don?t know how. Where do I >>> put >>> litiff and How do I call it? >>> >> well, it's a convoluted process, you need to write a function (in C) and >> then make a wrapper that call this function and check everything fits >> scilab requirements. >> I have to work on my horrible code to be able to post it here. >> >> >>> Another thing: I have libtiff-4.1 and Libtiff.NET. Which one better suited >>> for Scilab? >>> >> I don't know. I have only used it on linux, so it was clearly not the .NET >> version ;-) >> But the way you compile and link it in scilab makes it fairly cross >> platform. >> >> Antoine >> >> >>> Thanks for your help. >>> >>> -- >>> View this message in context: http://mailinglists.scilab.** >>> org/GraphicsMagic1-3-15-**windows-source-in-Scilab-5-3-** >>> 3-tp4006029p4007177.html >>> Sent from the Scilab users - Mailing Lists Archives mailing list archive >>> at Nabble.com. >>> >>> -- >>> To unsubscribe from this mailing-list, please send an empty mail to >>> users-unsubscribe at lists.**scilab.org >>> To check the archives of this mailing list, see >>> http://mailinglists.scilab.**org/ >>> >>> >>> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.**scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.**org/ >> >> From b.benes at gmail.com Wed May 23 00:01:30 2012 From: b.benes at gmail.com (benedito timoteo) Date: Tue, 22 May 2012 19:01:30 -0300 Subject: Scilab-5.3.3 crashes on opening Tiff files Message-ID: Hi When I try to open a ,tif file Scilab shuts down. I think that perhaps this message is related: atomsLoad: An error occurred while loading 'DD_QD-0.2-0': File "C:\Users\Bennes\AppData\Roaming\Scilab\scilab-5.3.3\atoms\DD_QD\0.2-0\etc\MuPAT.start" does not exist. The "MuPAT.start" file really does not exists. In etc folder I have only "DD_QD.quit" and "DD_QD.start" files. Can anyone help me? Thanks in advance, -------------- next part -------------- An HTML attachment was scrubbed... URL: From breitu at arcor.de Wed May 23 09:07:16 2012 From: breitu at arcor.de (breitu) Date: Wed, 23 May 2012 00:07:16 -0700 (PDT) Subject: Scilab 5.3.3 (Suse 12.1, 64bit) batch job: GLIBCXX_3.4.15' not found Message-ID: <1337756836819-4008117.post@n3.nabble.com> Hi all, I have a problem. If I run scilab by invoking "scilab" and then use the command window, no problem. If I try to use: scillab -f foo.sce -nw nb I always get the error message: (scilab-bin:13202): Gtk-WARNING **: /home/karl/downloadsneu/scilab-5.3.3/lib/thirdparty/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib64/gtk-2.0/2.10.0/engines//liboxygen-gtk.so) Since I would like to use this batch job in a presentation, it is very annoying. I installed libstdc++.so.6, but it didn't help. Any advice what to do? Or a way to redirect this warning messages to a file, ao that they no appear on the screen? *Then* a graphics window should appear on the screen -- View this message in context: http://mailinglists.scilab.org/Scilab-5-3-3-Suse-12-1-64bit-batch-job-GLIBCXX-3-4-15-not-found-tp4008117.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From christianbeckman at web.de Wed May 23 12:22:14 2012 From: christianbeckman at web.de (cbeckmann) Date: Wed, 23 May 2012 03:22:14 -0700 (PDT) Subject: Linking Delphi DLL with Scilab In-Reply-To: <1337046279415-3987186.post@n3.nabble.com> References: <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> <4FA93EBA.8060006@amsterchem.com> <1336492456438-3971724.post@n3.nabble.com> <1336513618306-3972593.post@n3.nabble.com> <4FAA1641.2030101@amsterchem.com> <1337046279415-3987186.post@n3.nabble.com> Message-ID: <1337768534601-4008362.post@n3.nabble.com> Hi, I have problems at calling procedures from a DLL compiled with Delphi (actually Turbo Delphi). Linkage to the DLL obviously seems to work. Although tested at different Scilab versions, for example 5.3.3, Scilab always shows the same warning:"Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION) with "call" function." The DLL and Scilab versions are 32bit. But I use Windows XP 64bit. Maybe someone could help me with the code. I can't find any error. I am also a little bit wondering why I should use the stdcall calling convention as the Scilab help recommends the cdecl calling convention for C-code. Nonetheless, stdcall calling convention didn't work neither. The Turbo Delphi Code is as follows: /library Project4; {$R *.res} type PointerLongInt = ^LongInt; // LongInt should be 32bit in Turbo Delphi var a_global, b_global: LongInt; procedure AddIntegers(a, b: PointerLongInt); cdecl; begin a_global:=a^; b_global:=b^; end; procedure GetResult(c: PointerLongInt); cdecl; begin c^ := 9; end; exports AddIntegers, GetResult; begin end./ The scilab code is as follows: /DLLpath='c:\Programmierung\Delphi_DLL_CouplingWithScilab\Project4.dll'; try x=link(DLLpath, ['AddIntegers', 'GetResult'], 'c'); catch mprintf('\n Error!!!!!!! Linkage to .dll failed' + ascii(10)); abort; end; a=2; b=2; c=0; d=0; a=iconvert(a, 4); b=iconvert(b, 4); c=iconvert(c, 4); d=iconvert(d, 4); try mprintf('\n First Call\n'); call("AddIntegers", a, 1, "i", b, 2, "i") catch mprintf('\n Error in First Call'); end; try mprintf('\n Second Call\n'); c= call("GetResult", "out",[1,1],1,"i") catch mprintf('\n Error in Second Call '); end; ulink(x);/ Surprisingly, the first call didn't work, but the second did. But I am not that sure about the properties of the integer type in the call function, but i guess it should be unsigned 32bit, or? Is there also anybody who has successfully called functions inside a Delphi DLL and could send me a short test code or similar? -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p4008362.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From allan.cornet at scilab.org Wed May 23 12:29:00 2012 From: allan.cornet at scilab.org (Allan CORNET) Date: Wed, 23 May 2012 12:29:00 +0200 Subject: [scilab-Users] Re: Linking Delphi DLL with Scilab In-Reply-To: <1337768534601-4008362.post@n3.nabble.com> References: <1336480446910-3971194.post@n3.nabble.com> <4FA913B3.6060408@amsterchem.com> <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> <4FA93EBA.8060006@amsterchem.com> <1336492456438-3971724.post@n3.nabble.com> <1336513618306-3972593.post@n3.nabble.com> <4FAA1641.2030101@amsterchem.com> <1337046279415-3987186.post@n3.nabble.com> <1337768534601-4008362.post@n3.nabble.com> Message-ID: <000001cd38ce$de0ee930$9a2cbb90$@scilab.org> Hi, Please open a bug report @ bugzilla.scilab.org (In all case, Scilab must not crash here but to return an error message) Your Delphi DLL must be compiled with cdecl (default C calling convention) calling convention to link in Scilab (Please attach dll in your bug report) http://en.wikipedia.org/wiki/X86_calling_conventions Thanks Allan -----Message d'origine----- De?: cbeckmann [mailto:christianbeckman at web.de] Envoy??: mercredi 23 mai 2012 12:22 ??: users at lists.scilab.org Objet?: [scilab-Users] Re: Linking Delphi DLL with Scilab Hi, I have problems at calling procedures from a DLL compiled with Delphi (actually Turbo Delphi). Linkage to the DLL obviously seems to work. Although tested at different Scilab versions, for example 5.3.3, Scilab always shows the same warning:"Scilab has found a critical error (EXCEPTION_ACCESS_VIOLATION) with "call" function." The DLL and Scilab versions are 32bit. But I use Windows XP 64bit. Maybe someone could help me with the code. I can't find any error. I am also a little bit wondering why I should use the stdcall calling convention as the Scilab help recommends the cdecl calling convention for C-code. Nonetheless, stdcall calling convention didn't work neither. The Turbo Delphi Code is as follows: /library Project4; {$R *.res} type PointerLongInt = ^LongInt; // LongInt should be 32bit in Turbo Delphi var a_global, b_global: LongInt; procedure AddIntegers(a, b: PointerLongInt); cdecl; begin a_global:=a^; b_global:=b^; end; procedure GetResult(c: PointerLongInt); cdecl; begin c^ := 9; end; exports AddIntegers, GetResult; begin end./ The scilab code is as follows: /DLLpath='c:\Programmierung\Delphi_DLL_CouplingWithScilab\Project4.dll'; try x=link(DLLpath, ['AddIntegers', 'GetResult'], 'c'); catch mprintf('\n Error!!!!!!! Linkage to .dll failed' + ascii(10)); abort; end; a=2; b=2; c=0; d=0; a=iconvert(a, 4); b=iconvert(b, 4); c=iconvert(c, 4); d=iconvert(d, 4); try mprintf('\n First Call\n'); call("AddIntegers", a, 1, "i", b, 2, "i") catch mprintf('\n Error in First Call'); end; try mprintf('\n Second Call\n'); c= call("GetResult", "out",[1,1],1,"i") catch mprintf('\n Error in Second Call '); end; ulink(x);/ Surprisingly, the first call didn't work, but the second did. But I am not that sure about the properties of the integer type in the call function, but i guess it should be unsigned 32bit, or? Is there also anybody who has successfully called functions inside a Delphi DLL and could send me a short test code or similar? -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p4008 362.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From arash.moradinegade at northumbria.ac.uk Wed May 23 13:18:35 2012 From: arash.moradinegade at northumbria.ac.uk (armo) Date: Wed, 23 May 2012 04:18:35 -0700 (PDT) Subject: Importing Modelica model into xcos Message-ID: <1337771915524-4008429.post@n3.nabble.com> Dear all, Is there any way to import a Modelica model into xcos. I know that I can transfer my classes one-by-one into xcos using MBLOCKs, but the problem is that there are several classes and they have been connected to each other in Modelica model. I would rather to import it as it is into xcos and simulate it. Regards, Arash -- View this message in context: http://mailinglists.scilab.org/Importing-Modelica-model-into-xcos-tp4008429.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From b.benes at gmail.com Wed May 23 14:38:53 2012 From: b.benes at gmail.com (benes) Date: Wed, 23 May 2012 05:38:53 -0700 (PDT) Subject: Installing SIP-0.5.6-1 Message-ID: <1337776733556-4008549.post@n3.nabble.com> I?ve downloaded SIP-0.5.6-1-src.tar.gz and need some help to install it. I?m running a Windows 7 64-bit machine. Thanks in advance. -- View this message in context: http://mailinglists.scilab.org/Installing-SIP-0-5-6-1-tp4008549.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rfabbri at gmail.com Wed May 23 15:22:58 2012 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Wed, 23 May 2012 10:22:58 -0300 Subject: [scilab-Users] Installing SIP-0.5.6-1 In-Reply-To: <1337776733556-4008549.post@n3.nabble.com> References: <1337776733556-4008549.post@n3.nabble.com> Message-ID: Hi, We are currently in need of volunteers for generating a final Windows version of SIP. SIP is currently actively supported under Linux. Best, Ricardo Fabbri -- Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Wed, May 23, 2012 at 9:38 AM, benes wrote: > I?ve downloaded SIP-0.5.6-1-src.tar.gz and need some help to install it. > I?m > running a Windows 7 64-bit > > machine. Thanks in advance. > > -- > View this message in context: > http://mailinglists.scilab.org/Installing-SIP-0-5-6-1-tp4008549.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From communication at scilab.org Wed May 23 15:41:35 2012 From: communication at scilab.org (Scilab Communication) Date: Wed, 23 May 2012 15:41:35 +0200 Subject: Invitation to ScilabTEC 2012, June 28th, 9.00 AM Message-ID: <4FBCE90F.9020105@scilab.org> ScilabTEC The Scilab Users Day is a unique opportunity to discover the latest software developments, industrial applications and enhance your knowledge of Scilab and its ecosystem. With *Kitware, Eramet, Sanofi, Astrium (EADS), Dassault Aviation, CNES* which have developed applications around Scilab software, you will also meet the R&D team to *discover Scilab 5.4.0 in live* and find out more about *Scilab Enterprises strategy and positioning*. ScilabTEC 2012 complete program online: http://www.scilab.org/news/events/20120516 *ScilabTEC 2012 takes place at the ?cole Polytechnique during Teratec Forum on Thursday, June 28!* Limited seating, register now for free (http://www.teratec.eu/gb/forum/inscription.php) ----------------------------- The Scilab Consortium http://www.scilab.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: banner.png Type: image/png Size: 110668 bytes Desc: not available URL: From rfabbri at gmail.com Wed May 23 16:24:49 2012 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Wed, 23 May 2012 11:24:49 -0300 Subject: [scilab-Users] Re: GraphicsMagic1.3.15-windows-source in Scilab- 5.3.3 In-Reply-To: <4FBBF406.5050303@laas.fr> References: <4FBB3F44.8090806@laas.fr> <1337711251506-4007177.post@n3.nabble.com> <4FBBE1C1.2020802@laas.fr> <4FBBF406.5050303@laas.fr> Message-ID: Hi, 16bit tiff is suported. You need your imagemagick to have 16bit enabled (which is usually default). SIP code "normally normalizes" the ImageMagick image to a double representation between 0-1. The conversion is done in e.g. magick_truecolor_image_to_double_hypermat in the file src/sip_common.c from SIP, and uses a constant called MaxRGB for normalization. Therefore it is written to support 16bit. A test confirms that: $ identify onca.tiff onca.tiff TIFF 238x182 238x182+0+0 16-bit Grayscale DirectClass 50KB 0.000u 0:00.00 --> a=imread('onca.tiff'); --> imshow(a); best, Ricardo Fabbri -- Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Tue, May 22, 2012 at 5:16 PM, Antoine Monmayrant < antoine.monmayrant at laas.fr> wrote: > Le 22/05/12 21:19, Ricardo Fabbri a ?crit : > > SIP uses ImageMagick which is basically a variant of GraphicsMagick >> (actually the other way around). ImageMagick is actually more advanced >> than >> GraphicsMagick, but a bit harder to keep track of backward compatibility >> (but that's a developer's little issue). >> >> You should direct your efforts to try to install/link SIP to your scilab, >> then you'll have a scilab API for libtiff (and hundreds of other image >> format libs as well). >> > Is there support for 16bit tiff? > If yes, I'll dump all my buggy code and switch back to sip... > >> >> If you are not using Linux, you can still try to see what it takes to get >> SIP up and running in your Operating System, since it has all the >> machinery >> required to link to an external lib like libtiff. >> >> best, >> Ricardo Fabbri >> -- >> Linux registered user #175401 >> www.lems.brown.edu/~rfabbri > tp://www.lems.brown.edu/%**7Erfabbri >> > >> >> pt.wikipedia.org/wiki/IPRJ >> labmacambira.sf.net >> >> >> On Tue, May 22, 2012 at 3:58 PM, Antoine Monmayrant< >> antoine.monmayrant at laas.fr> wrote: >> >> Le 22/05/12 20:27, benes a ?crit : >>> >>> Hi. I?d like to call libtiff from Scilab but I don?t know how. Where do >>> I >>> >>>> put >>>> litiff and How do I call it? >>>> >>>> well, it's a convoluted process, you need to write a function (in C) >>> and >>> then make a wrapper that call this function and check everything fits >>> scilab requirements. >>> I have to work on my horrible code to be able to post it here. >>> >>> >>> Another thing: I have libtiff-4.1 and Libtiff.NET. Which one better >>>> suited >>>> for Scilab? >>>> >>>> I don't know. I have only used it on linux, so it was clearly not the >>> .NET >>> version ;-) >>> But the way you compile and link it in scilab makes it fairly cross >>> platform. >>> >>> Antoine >>> >>> >>> Thanks for your help. >>>> >>>> -- >>>> View this message in context: http://mailinglists.scilab.** >>>> org/GraphicsMagic1-3-15-****windows-source-in-Scilab-5-3-**** >>>> 3-tp4006029p4007177.html>>> GraphicsMagic1-3-15-windows-**source-in-Scilab-5-3-3-** >>>> tp4006029p4007177.html >>>> > >>>> >>>> Sent from the Scilab users - Mailing Lists Archives mailing list archive >>>> at Nabble.com. >>>> >>>> -- >>>> To unsubscribe from this mailing-list, please send an empty mail to >>>> users-unsubscribe at lists.**scil**ab.org < >>>> users-unsubscribe@**lists.scilab.org >>>> > >>>> >>>> To check the archives of this mailing list, see >>>> http://mailinglists.scilab.****org/ >>>> > >>>> >>>> >>>> >>>> -- >>> To unsubscribe from this mailing-list, please send an empty mail to >>> users-unsubscribe at lists.**scil**ab.org < >>> users-unsubscribe@**lists.scilab.org >>> > >>> >>> To check the archives of this mailing list, see >>> http://mailinglists.scilab.****org/ >>> > >>> >>> >>> > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.**scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.**org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From christianbeckman at web.de Wed May 23 16:55:43 2012 From: christianbeckman at web.de (cbeckmann) Date: Wed, 23 May 2012 07:55:43 -0700 (PDT) Subject: Linking Delphi DLL with Scilab In-Reply-To: <000001cd38ce$de0ee930$9a2cbb90$@scilab.org> References: <1336488609645-3971548.post@n3.nabble.com> <1336490338143-3971627.post@n3.nabble.com> <4FA93EBA.8060006@amsterchem.com> <1336492456438-3971724.post@n3.nabble.com> <1336513618306-3972593.post@n3.nabble.com> <4FAA1641.2030101@amsterchem.com> <1337046279415-3987186.post@n3.nabble.com> <1337768534601-4008362.post@n3.nabble.com> <000001cd38ce$de0ee930$9a2cbb90$@scilab.org> Message-ID: <1337784943418-4008850.post@n3.nabble.com> Thanks for the info, Allan! I have opened a bug report at: http://bugzilla.scilab.org/show_bug.cgi?id=11183 http://bugzilla.scilab.org/show_bug.cgi?id=11183 -- View this message in context: http://mailinglists.scilab.org/Linking-Delphi-DLL-with-Scilab-tp3967008p4008850.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From papriwalprateek at gmail.com Thu May 24 13:48:55 2012 From: papriwalprateek at gmail.com (prateek papriwal) Date: Thu, 24 May 2012 17:18:55 +0530 Subject: [scilab-Users] Error while loading the module 'distfun' In-Reply-To: <4FB3ED0A.9000909@scilab-enterprises.com> References: <4FB3ED0A.9000909@scilab-enterprises.com> Message-ID: I have reported the bug http://bugzilla.scilab.org/show_bug.cgi?id=11127 . Thnx and regards Prateek On Wed, May 16, 2012 at 11:38 PM, Sylvestre Ledru < sylvestre.ledru at scilab-enterprises.com> wrote: > On 15/05/2012 08:00, prateek papriwal wrote: > > i am able to load several other modules but i get an error while i > > load distfun > > > > the error is -- > > > > -->atomsLoad('distfun'); > > > > Start Distfun > > Load macros > > Load gateways > > atomsLoad: An error occurred while loading 'distfun-0.2-1': > > link: The shared archive was not loaded: > > > /home/hp/scilab-5.3.3/share/scilab/contrib/distfun/0.2-1/sci_gateway/c//../../src/c/libdistfun_c.so: > > cannot open shared object file: No such file or directory > > !--error 10000 > Could you report a bug ? > Thanks, > Sylvestre > -------------- next part -------------- An HTML attachment was scrubbed... URL: From meni.tima at hotmail.com Thu May 24 14:43:06 2012 From: meni.tima at hotmail.com (Tima) Date: Thu, 24 May 2012 05:43:06 -0700 (PDT) Subject: Cartesien Repere in Scilab Message-ID: <1337863386874-4013453.post@n3.nabble.com> Hi, Is there anyone who knows how to plot just points in a Cartesian coordinate system with Scilab. http://mailinglists.scilab.org/file/n4013453/plan_cartesien.jpg Regards, Tima -- View this message in context: http://mailinglists.scilab.org/Cartesien-Repere-in-Scilab-tp4013453.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Thu May 24 15:17:46 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 24 May 2012 14:17:46 +0100 Subject: [scilab-Users] Cartesien Repere in Scilab In-Reply-To: <1337863386874-4013453.post@n3.nabble.com> Message-ID: You can use plot2d(a,b,0), where a, b are the vectors of x and y coordinates. The value 0 causes dots to be used as markers. Other integer values below 1 produce other marker types (-1 is + and -2 is x). HTH Mike. -----Original Message----- From: Tima [mailto:meni.tima at hotmail.com] Sent: 24 May 2012 13:43 To: users at lists.scilab.org Subject: [scilab-Users] Cartesien Repere in Scilab Hi, Is there anyone who knows how to plot just points in a Cartesian coordinate system with Scilab. http://mailinglists.scilab.org/file/n4013453/plan_cartesien.jpg Regards, Tima -- View this message in context: http://mailinglists.scilab.org/Cartesien-Repere-in-Scilab-tp4013453.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From thalesjacques at gmail.com Thu May 24 16:46:35 2012 From: thalesjacques at gmail.com (Thales Jacques) Date: Thu, 24 May 2012 07:46:35 -0700 (PDT) Subject: "call" and "fort" Message-ID: <1337870795094-4013669.post@n3.nabble.com> Hi, This thread is the continuation of "Linking Delphi DLL with Scilab" but this time it is a problem that is not related to the linkage itself. First, when i use the call() function to execute the function inside my DLL the string is so long (over 1000 characters) that I did the following: Copied my line (the call function with all the arguments) to the file expression.txt and did: I=mgetl('expression.txt') evstr(I) Then I get the error: ,[m25,n25],64,"r",[m26,n26],65,"r",[m27,n27],66,"r"); !--error 70 Too many arguments in fort (max 30). in execstr instruction called by : at line 34 of function evstr called by : evstr(I) The function in my DLL has 68 arguments (41 inputs and 27 outputs) and so does the call function. Is there any way to work around this? One solution may be to use a vector as an argument (instead of a bunch of separated arguments), but this implies changing the DLL and I am not the owner of the DLL. Thank you, Thales. -- View this message in context: http://mailinglists.scilab.org/call-and-fort-tp4013669.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From meni.tima at hotmail.com Fri May 25 10:27:41 2012 From: meni.tima at hotmail.com (Tima) Date: Fri, 25 May 2012 01:27:41 -0700 (PDT) Subject: Cartesien Repere in Scilab In-Reply-To: References: <1337863386874-4013453.post@n3.nabble.com> Message-ID: <1337934461517-4014864.post@n3.nabble.com> Thanks Mike for the reply. In fact, I did like that: >a=[-4 -3 -2 -1 0 1 2 3 4 5 6 7]; >b=[-4 -3 -2 -1 0 1 2 3 4 5 6 7]; >plot2d(a,b,0) but I had "-4" as origin of my Cartesian coordinates, and I want to have 0 as origin!! Have you any idea? Thanks, Tima -- View this message in context: http://mailinglists.scilab.org/Cartesien-Repere-in-Scilab-tp4013453p4014864.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Fri May 25 10:42:11 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Fri, 25 May 2012 09:42:11 +0100 Subject: [scilab-Users] RE: Cartesien Repere in Scilab In-Reply-To: <1337934461517-4014864.post@n3.nabble.com> Message-ID: Hi Tima, You need to change the axis default position from bottom/left to origin. ax=gca(); ax.x_location='origin'; ax.y_location='origin'; If you type a=gca() without the semicolon, you will see a list of all the axis parameters. You can adjust anything you like in a similar way. HTH, Mike. -----Original Message----- From: Tima [mailto:meni.tima at hotmail.com] Sent: 25 May 2012 09:28 To: users at lists.scilab.org Subject: [scilab-Users] RE: Cartesien Repere in Scilab Thanks Mike for the reply. In fact, I did like that: >a=[-4 -3 -2 -1 0 1 2 3 4 5 6 7]; >b=[-4 -3 -2 -1 0 1 2 3 4 5 6 7]; >plot2d(a,b,0) but I had "-4" as origin of my Cartesian coordinates, and I want to have 0 as origin!! Have you any idea? Thanks, Tima -- View this message in context: http://mailinglists.scilab.org/Cartesien-Repere-in-Scilab-tp4013453p4014864. html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From rei.listas at yahoo.com Fri May 25 14:19:34 2012 From: rei.listas at yahoo.com (Reinaldo) Date: Fri, 25 May 2012 05:19:34 -0700 (PDT) Subject: Problem on optimization function (Scilab 5.4) Message-ID: <1337948374.9720.YahooMailNeo@web122501.mail.ne1.yahoo.com> Hi Scilab users, I use Scilab 5.4 for Mac OS X Lion. My codes ran correctly on Scilab 5.3 (for Windows). But on Scilab 5.4, it shows errors. I think that "linpro function" has modified on Scilab 5.4 (or it has not included on Scilab optimization function list). Both ways of solving LP problem are shown, as follows: // PROJECT PROBLEM: find the optimum value of following LP model. // Maximize 13*x1 + 16*x2 + 16*x3 + 14*x4 + 39*x5 // such as // 11*x1 + 53*x2 + 5*x3 + 5*x4 + 29*x5 <= 40 // 3*x1 + 6*x2 + 5*x3 + x4 + 34*x5 <= 20 // x1 <= 1 // x2 <= 1 // x3 <= 1 // x4 <= 1 // x5 <= 1 // xi >= 0 (i = 1,...,5) // Converting to min LP problem // Minimize -13*x1 - 16*x2 - 16*x3 - 14*x4 - 39*x5 // such as // 11*x1 + 53*x2 + 5*x3 + 5*x4 + 29*x5 <= 40 // 3*x1 + 6*x2 + 5*x3 + x4 + 34*x5 <= 20 // x1 <= 1 // x2 <= 1 // x3 <= 1 // x4 <= 1 // x5 <= 1 // xi >= 0 (i = 1,...,5) // First resolution of LP problem: (THIS RESOLUTION WORKED !) // You can try the karmarkar function built in Scilab : // Use slack variables: // Minimize -13*x1 - 16*x2 - 16*x3 - 14*x4 - 39*x5 // such as // 11*x1 + 53*x2 + 5*x3 + 5*x4 + 29*x5 + e1 = 40 // 3*x1 + 6*x2 + 5*x3 + x4 + 34*x5 + e2 = 20 // x1 + e3 = 1 // x2 + e4 = 1 // x3 + e5 = 1 // x4 + e6 = 1 // x5 + e7 = 1 // xi, ej >= 0 (i = 1,...,5) (j = 1,..., 7) // The following script solves the problem. Here, the initial guess x0 is given. Aeq = [ 11 53 5 5 29 1 0 0 0 0 0 0 3 6 5 1 34 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 ]; // coefficients of constraint matrix beq = [40 20 1 1 1 1 1]'; // vector of independent terms c = [-13 -16 -16 -14 -39 0 0 0 0 0 0 0]'; // coefficients of objective function [n,p]=size(Aeq); // Now, assume that the initial guess x0 is unknown. // To find a feasible point, we solve the following problem : cc = [zeros(p,1);1]; AAeq = [Aeq,beq-Aeq*ones(p,1)]; bbeq = beq; z0 = ones(p+1,1); zopt=karmarkar(AAeq,bbeq,cc,z0,0,0.99) x0=zopt(1:p) // This gives a very small value of zopt(p+1) // The previous script allows to produces the initial guess: x0 // We now plug the initial guess x0 into the original problem and get: xopt=karmarkar(Aeq,beq,c,x0,1.e-10,0.999) // optimization result // where the components xopt(1:4) are the original variables and xopt(5:) are slack variables. f = c'*xopt // result of objetive function // Second resolution of LP problem: (THIS RESOLUTION WORKED !) // You can also try the "quapro"module and the linpro function. // Minimize -13*x1 - 16*x2 - 16*x3 - 14*x4 - 39*x5 // such as // 11*x1 + 53*x2 + 5*x3 + 5*x4 + 29*x5 <= 40 // 3*x1 + 6*x2 + 5*x3 + x4 + 34*x5 <= 20 // x1 <= 1 // x2 <= 1 // x3 <= 1 // x4 <= 1 // x5 <= 1 // xi >= 0 (i = 1,...,5) p = [-13 -16 -16 -14 -39]'; // coefficients of objective function C = [ 11 53 5 5 29 3 6 5 1 34 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 ]; // coefficients of constraint matrix b = [40 20 1 1 1 1 1]'; // vector of independent terms ci=[0 0 0 0 0]'; // initial values (boundary condition) cs=[%inf %inf %inf %inf %inf]'; // final values [x1,lagr,f]=linpro(p,C,b,ci,cs) // x1 represents the optimum solution // PS: // [x,lagr,f]=linpro(p,C,b,ci,cs [,x0]) when minimize p'*x under the constraints C*x <= b // [x,lagr,f]=linpro(p,-C,-b,ci,cs [,x0]) when minimize p'*x under the constraints C*x >= b [clean(x1) clean(xopt(1:size(p,1)))] a=0;for i=1:size(p,1); a=a+x1(i);end;a //sum of optimal values using linpro b=0;for i=1:size(p,1); b=b+xopt(i);end;b //sum of optimal values using Karmarkar The result is shown, as follows: ->Aeq = [ --> 11 53 5 5 29 1 0 0 0 0 0 0 --> 3 6 5 1 34 0 1 0 0 0 0 0 --> 1 0 0 0 0 0 0 1 0 0 0 0 --> 0 1 0 0 0 0 0 0 1 0 0 0 --> 0 0 1 0 0 0 0 0 0 1 0 0 --> 0 0 0 1 0 0 0 0 0 0 1 0 --> 0 0 0 0 1 0 0 0 0 0 0 1 --> ]; --> -->beq = [40 20 1 1 1 1 1]'; -->c = [-13 -16 -16 -14 -39 0 0 0 0 0 0 0]'; -->[n,p]=size(Aeq); --> -->cc = [zeros(p,1);1]; -->AAeq = [Aeq,beq-Aeq*ones(p,1)]; -->bbeq = beq; -->z0 = ones(p+1,1); -->zopt=karmarkar(AAeq,bbeq,cc,z0,0,0.99) zopt = 0.4651227 0.3447924 0.4790839 0.4846474 0.3723201 0.9937153 0.9969277 0.5348773 0.6552076 0.5209161 0.5153526 0.6276799 1.00D-162 -->x0=zopt(1:p) x0 = 0.4651227 0.3447924 0.4790839 0.4846474 0.3723201 0.9937153 0.9969277 0.5348773 0.6552076 0.5209161 0.5153526 0.6276799 --> -->xopt=karmarkar(Aeq,beq,c,x0,1.e-10,0.999) xopt = 1.0017139 0.2009097 0.9994057 1.0011172 0.2881802 1.034D-13 3.512D-13 5.532D-16 0.7990812 8.466D-15 8.225D-14 0.7119165 --> -->f = c'*xopt f = - 57.481994 --> -->p = [-13 -16 -16 -14 -39]'; --> -->C = [ --> 11 53 5 5 29 --> 3 6 5 1 34 --> 1 0 0 0 0 --> 0 1 0 0 0 --> 0 0 1 0 0 --> 0 0 0 1 0 --> 0 0 0 0 1 --> ]; --> -->b = [40 20 1 1 1 1 1]'; --> -->ci=[0 0 0 0 0]'; --> -->cs=[%inf %inf %inf %inf %inf]'; --> -->[x1,lagr,f]=linpro(p,C,b,ci,cs) !--error 4 Vari?vel indefinida: linpro --> -->[clean(x1) clean(xopt(1:size(p,1)))] !--error 4 Vari?vel indefinida: x1 -->a=0;for i=1:size(p,1); a=a+x1(i);end;a !--error 4 Vari?vel indefinida: x1 -->b=0;for i=1:size(p,1); b=b+xopt(i);end;b b = 3.4913266 Thank you in advance for suggestions ! All best, Reinaldo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfabbri at gmail.com Fri May 25 14:25:15 2012 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Fri, 25 May 2012 09:25:15 -0300 Subject: [scilab-Users] Re: GraphicsMagic1.3.15-windows-source in Scilab- 5.3.3 In-Reply-To: References: <4FBB3F44.8090806@laas.fr> <1337711251506-4007177.post@n3.nabble.com> <4FBBE1C1.2020802@laas.fr> <4FBBF406.5050303@laas.fr> Message-ID: quick note: > > $ identify onca.tiff > I should actually have limited myself to scilab + SIP: -->imfinfo('onca.tiff','verbose'); FileName: onca.tiff FileSize: 50020 Format: TIFF Width: 238 Height: 182 Depth: 16 StorageType: truecolor NumberOfColors: 0 ResolutionUnit: centimeter XResolution: 72.000000 YResolution: 72.000000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri May 25 14:29:38 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 25 May 2012 14:29:38 +0200 Subject: [scilab-Users] Problem on optimization function (Scilab 5.4) In-Reply-To: <1337948374.9720.YahooMailNeo@web122501.mail.ne1.yahoo.com> References: <1337948374.9720.YahooMailNeo@web122501.mail.ne1.yahoo.com> Message-ID: <4FBF7B32.1080901@centre-cired.fr> On 25/05/2012 14:19, Reinaldo wrote: > -->[x1,lagr,f]=linpro(p,C,b,ci,cs) > !--error 4 > Vari?vel indefinida: linpro Hi you have to install the quapro module on your new scilab you can do so from the scilab console atomsInstall('quapro') http://atoms.scilab.org/toolboxes/quapro Hope this helps -------------- next part -------------- An HTML attachment was scrubbed... URL: From rei.listas at yahoo.com Fri May 25 14:59:51 2012 From: rei.listas at yahoo.com (Reinaldo) Date: Fri, 25 May 2012 05:59:51 -0700 (PDT) Subject: [scilab-Users] Problem on optimization function (Scilab 5.4) In-Reply-To: <4FBF7B32.1080901@centre-cired.fr> References: <1337948374.9720.YahooMailNeo@web122501.mail.ne1.yahoo.com> <4FBF7B32.1080901@centre-cired.fr> Message-ID: <1337950791.19262.YahooMailNeo@web122504.mail.ne1.yahoo.com> Hi Adrien, Thank you for your answer and suggestion. I install it. Then I run it again and the results is shown, as follows: -->Aeq = [ --> ? ? ? 11 53 5 5 29 1 0 0 0 0 0 0 --> ? ? ? ?3 ?6 5 1 34 0 1 0 0 0 0 0 --> ? ? ? ?1 ?0 0 0 ?0 0 0 1 0 0 0 0 --> ? ? ? ?0 ?1 0 0 ?0 0 0 0 1 0 0 0 --> ? ? ? ?0 ?0 1 0 ?0 0 0 0 0 1 0 0 --> ? ? ? ?0 ?0 0 1 ?0 0 0 0 0 0 1 0 --> ? ? ? ?0 ?0 0 0 ?1 0 0 0 0 0 0 1 --> ? ? ?]; ? ? --> ? -->beq = [40 20 1 1 1 1 1]'; ? ? ? -->c = [-13 -16 -16 -14 -39 0 0 0 0 0 0 0]'; ? ?? ? -->[n,p]=size(Aeq); ? --> ? --> ? --> ? -->cc = [zeros(p,1);1]; ? -->AAeq = [Aeq,beq-Aeq*ones(p,1)]; ? -->bbeq = beq; ? -->z0 = ones(p+1,1); ? -->zopt=karmarkar(AAeq,bbeq,cc,z0,0,0.99) ?zopt ?= ? ? ? 0.4651227 ? ? ? 0.3447924 ? ? ? 0.4790839 ? ? ? 0.4846474 ? ? ? 0.3723201 ? ? ? 0.9937153 ? ? ? 0.9969277 ? ? ? 0.5348773 ? ? ? 0.6552076 ? ? ? 0.5209161 ? ? ? 0.5153526 ? ? ? 0.6276799 ? ? ? 1.00D-162 ? ? -->x0=zopt(1:p) ? ?x0 ?= ? ? ? 0.4651227 ? ? ? 0.3447924 ? ? ? 0.4790839 ? ? ? 0.4846474 ? ? ? 0.3723201 ? ? ? 0.9937153 ? ? ? 0.9969277 ? ? ? 0.5348773 ? ? ? 0.6552076 ? ? ? 0.5209161 ? ? ? 0.5153526 ? ? ? 0.6276799 ? ? --> ? --> ? -->xopt=karmarkar(Aeq,beq,c,x0,1.e-10,0.999) ? ?xopt ?= ? ? ? 1.0017139 ? ? ? 0.2009097 ? ? ? 0.9994057 ? ? ? 1.0011172 ? ? ? 0.2881802 ? ? ? 1.034D-13 ? ? ? 3.512D-13 ? ? ? 5.532D-16 ? ? ? 0.7990812 ? ? ? 8.466D-15 ? ? ? 8.225D-14 ? ? ? 0.7119165 ? ? --> ? -->f = c'*xopt ? ?f ?= ? ? - 57.481994 ? ? --> ? -->p = [-13 -16 -16 -14 -39]';? ? --> ? -->C = ?[ --> ? ? ? 11 53 5 5 29 --> ? ? ? ?3 ?6 5 1 34 --> ? ? ? ?1 ?0 0 0 ?0 --> ? ? ? ?0 ?1 0 0 ?0 --> ? ? ? ?0 ?0 1 0 ?0 --> ? ? ? ?0 ?0 0 1 ?0 --> ? ? ? ?0 ?0 0 0 ?1 --> ? ? ?]; ? ? --> ? --> ? ?? ? -->b = [40 20 1 1 1 1 1]'; ? ? --> ? -->ci=[0 0 0 0 0]'; ? ? --> ? -->cs=[%inf %inf %inf %inf %inf]';? ? --> ? -->[x1,lagr,f]=linpro(p,C,b,ci,cs) ? Warning: /Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/quapro/1.1-2/macros/quapro.bin ?f ?= ? ? ? 1. ? ?lagr ?= ? ? ? 0. ? ?x1 ?= ? ? ? 0. ? ? Warning: stack problem..., solved --> ? --> ? --> ? --> ? --> ? --> ? -->[clean(x1) clean(xopt(1:size(p,1)))] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? !--error 5? Incoerente rows/columns ?dimension. ? ? -->a=0;for i=1:size(p,1); a=a+x1(i);end;a? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?!--error 21? Invalid index. ? ? -->b=0;for i=1:size(p,1); b=b+xopt(i);end;b? ?b ?= ? ? ? 3.4913266 ? ? In case you want, I could send to you the code in your mail. All best, Reinaldo. PS: Interesting that it worked properly on previous version of Scilab. ________________________________ De: Adrien Vogt-Schilb Para: users at lists.scilab.org Enviadas: Sexta-feira, 25 de Maio de 2012 9:29 Assunto: Re: [scilab-Users] Problem on optimization function (Scilab 5.4) On 25/05/2012 14:19, Reinaldo wrote: -->[x1,lagr,f]=linpro(p,C,b,ci,cs) !--error 4 Vari?vel indefinida: linpro Hi you have to install the quapro module on your new scilab you can do so from the scilab console atomsInstall('quapro') http://atoms.scilab.org/toolboxes/quapro Hope this helps -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri May 25 15:33:00 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 25 May 2012 15:33:00 +0200 Subject: [scilab-Users] Problem on optimization function (Scilab 5.4) In-Reply-To: <1337950791.19262.YahooMailNeo@web122504.mail.ne1.yahoo.com> References: <1337948374.9720.YahooMailNeo@web122501.mail.ne1.yahoo.com> <4FBF7B32.1080901@centre-cired.fr> <1337950791.19262.YahooMailNeo@web122504.mail.ne1.yahoo.com> Message-ID: <4FBF8A0C.4040109@centre-cired.fr> Hi please try to send minimal programs that reproduce the problem (as above) (you should also use the 'exec' command instead of copy/pasting your code in the console) i cannot help you, as i am not familiar with linpro are you sure that linpro accepts %inf as valid superior constraint? you cna check this in the linpro page On 25/05/2012 14:59, Reinaldo wrote: > -->p = [-13 -16 -16 -14 -39]'; > -->C = [ > --> 11 53 5 5 29 > --> 3 6 5 1 34 > --> 1 0 0 0 0 > --> 0 1 0 0 0 > --> 0 0 1 0 0 > --> 0 0 0 1 0 > --> 0 0 0 0 1 > --> ]; > -->b = [40 20 1 1 1 1 1]'; > -->ci=[0 0 0 0 0]'; > -->cs=[%inf %inf %inf %inf %inf]'; > -->[x1,lagr,f]=linpro(p,C,b,ci,cs) > Warning: > /Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/quapro/1.1-2/macros/quapro.bin > > f = > 1. > lagr = > 0. > x1 = > 0. > Warning: stack problem..., solved > > --> -------------- next part -------------- An HTML attachment was scrubbed... URL: From rei.listas at yahoo.com Fri May 25 16:53:40 2012 From: rei.listas at yahoo.com (Reinaldo) Date: Fri, 25 May 2012 07:53:40 -0700 (PDT) Subject: [scilab-Users] Problem on optimization function (Scilab 5.4) In-Reply-To: <4FBF8A0C.4040109@centre-cired.fr> References: <1337948374.9720.YahooMailNeo@web122501.mail.ne1.yahoo.com> <4FBF7B32.1080901@centre-cired.fr> <1337950791.19262.YahooMailNeo@web122504.mail.ne1.yahoo.com> <4FBF8A0C.4040109@centre-cired.fr> Message-ID: <1337957620.76409.YahooMailNeo@web122502.mail.ne1.yahoo.com> Hi I compiled that code through "marking all the codes in Scilab notes and choosing the first option "simulte with eco". Well,? I used to proceed like that using Scilab 5.3. But now, under 5.4 version, it fails ... :-( All best, Reinaldo. ________________________________ De: Adrien Vogt-Schilb Para: users at lists.scilab.org Enviadas: Sexta-feira, 25 de Maio de 2012 10:33 Assunto: Re: [scilab-Users] Problem on optimization function (Scilab 5.4) Hi please try to send minimal programs that reproduce the problem (as above) (you should also use the 'exec' command instead of copy/pasting your code in the console) i cannot help you, as i am not familiar with linpro are you sure that linpro accepts %inf as valid superior constraint? you cna check this in the linpro page On 25/05/2012 14:59, Reinaldo wrote: ? >-->p = [-13 -16 -16 -14 -39]';? >? >-->C = ?[ >--> ? ? ? 11 53 5 5 29 >--> ? ? ? ?3 ?6 5 1 34 >--> ? ? ? ?1 ?0 0 0 ?0 >--> ? ? ? ?0 ?1 0 0 ?0 >--> ? ? ? ?0 ?0 1 0 ?0 >--> ? ? ? ?0 ?0 0 1 ?0 >--> ? ? ? ?0 ?0 0 0 ?1 >--> ? ? ?]; ? >? >? >-->b = [40 20 1 1 1 1 1]'; ? >-->ci=[0 0 0 0 0]'; ? >? >-->cs=[%inf %inf %inf %inf %inf]';? >? >-->[x1,lagr,f]=linpro(p,C,b,ci,cs) ? >Warning: >/Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/quapro/1.1-2/macros/quapro.bin > > >?f ?= >? >? ? 1. ? >?lagr ?= >? >? ? 0. ? >?x1 ?= >? >? ? 0. ? >? >Warning: stack problem..., solved > > >--> >? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ezequielsoule at gmail.com Mon May 28 19:12:58 2012 From: ezequielsoule at gmail.com (ezequiel soule) Date: Mon, 28 May 2012 10:12:58 -0700 (PDT) Subject: termination indicator in lsqrsolve Message-ID: <1338225178248-4019532.post@n3.nabble.com> hello, I?m using the function lsqrsolve and I wonder what is the difference between the termination indicator 2 and 5, and what can I do if I get the "2". 2: number of calls to fcn reached 5: number of calls to fcn reached or exceeded maxfev I?m getting the termination indicator 2, and there is no way to avoid it. I increased maxev but nothing happens, so I can?t get a good solution. Thank you, -- View this message in context: http://mailinglists.scilab.org/termination-indicator-in-lsqrsolve-tp4019532.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From michael.baudin at edf.fr Tue May 29 15:44:58 2012 From: michael.baudin at edf.fr (Michael BAUDIN) Date: Tue, 29 May 2012 15:44:58 +0200 Subject: RE [scilab-Users] termination indicator in lsqrsolve In-Reply-To: <1338225178248-4019532.post@n3.nabble.com> References: <1338225178248-4019532.post@n3.nabble.com> Message-ID: Hi, In the source code, we find the following comments : info = 2 relative error between two consecutive iterates is at most xtol. info = 5 number of calls to fcn with iflag = 1 has reached maxfev. Notice that this is different from the content of the help page (by the way, this is a bug which should be reported). So I guess that the info=2 either means that the solution is found, or that the algorithm stagnates. Did you check the value of the gradient and the eigenvalues of the Hessian matrix ? You can do this with the "derivative" function and the "order" option. One thing that we may try in this situation is to compute the derivatives by different ways, with the goal of measuring the sensitivity of the solution to the accuracy of the gradient. Did you try to compute the gradient with "derivative" and various formula orders ? You can do this with the fjac argument of lsqrsolve. Best regards, Michael PS http://gitweb.scilab.org/?p=scilab.git;a=blob_plain;f=scilab/modules/optimization/src/fortran/minpack/lmder.f;hb=HEAD http://gitweb.scilab.org/?p=scilab.git;a=blob_plain;f=scilab/modules/optimization/src/fortran/minpack/lmdif.f;hb=HEAD ezequielsoule at gmail.com 28/05/2012 19:13 Veuillez r?pondre ? users at lists.scilab.org A users at lists.scilab.org cc Objet [scilab-Users] termination indicator in lsqrsolve hello, I?m using the function lsqrsolve and I wonder what is the difference between the termination indicator 2 and 5, and what can I do if I get the "2". 2: number of calls to fcn reached 5: number of calls to fcn reached or exceeded maxfev I?m getting the termination indicator 2, and there is no way to avoid it. I increased maxev but nothing happens, so I can?t get a good solution. Thank you, -- View this message in context: http://mailinglists.scilab.org/termination-indicator-in-lsqrsolve-tp4019532.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont ?tablis ? l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme ? sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse. Si vous n'?tes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez re?u ce Message par erreur, merci de le supprimer de votre syst?me, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions ?galement d'en avertir imm?diatement l'exp?diteur par retour du message. Il est impossible de garantir que les communications par messagerie ?lectronique arrivent en temps utile, sont s?curis?es ou d?nu?es de toute erreur ou virus. ____________________________________________________ This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message. E-mail communication cannot be guaranteed to be timely secure, error or virus-free. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincent.couvert at scilab.org Wed May 30 09:02:13 2012 From: vincent.couvert at scilab.org (Vincent COUVERT) Date: Wed, 30 May 2012 09:02:13 +0200 Subject: [scilab-Users] RE [scilab-Users] termination indicator in lsqrsolve In-Reply-To: References: <1338225178248-4019532.post@n3.nabble.com> Message-ID: <4FC5C5F5.3020108@scilab.org> Hi, Here is the related bug report: http://bugzilla.scilab.org/show_bug.cgi?id=11203 Regards. Le 29/05/12 15:44, Michael BAUDIN a ?crit : > Hi, > > In the source code, we find the following comments : > > info = 2 relative error between two consecutive iterates is at most > xtol. > info = 5 number of calls to fcn with iflag = 1 has reached maxfev. > > Notice that this is different from the content of the help page (by > the way, this is a bug which should be reported). So I guess that the > info=2 either means that the solution is found, or that the algorithm > stagnates. Did you check the value of the gradient and the eigenvalues > of the Hessian matrix ? You can do this with the "derivative" function > and the "order" option. > > One thing that we may try in this situation is to compute the > derivatives by different ways, with the goal of measuring the > sensitivity of the solution to the accuracy of the gradient. Did you > try to compute the gradient with "derivative" and various formula > orders ? You can do this with the fjac argument of lsqrsolve. > > Best regards, > > Michael > > PS > http://gitweb.scilab.org/?p=scilab.git;a=blob_plain;f=scilab/modules/optimization/src/fortran/minpack/lmder.f;hb=HEAD > > http://gitweb.scilab.org/?p=scilab.git;a=blob_plain;f=scilab/modules/optimization/src/fortran/minpack/lmdif.f;hb=HEAD > > > > > > *ezequielsoule at gmail.com* > > 28/05/2012 19:13 > Veuillez r?pondre ? > users at lists.scilab.org > > > > A > users at lists.scilab.org > cc > > Objet > [scilab-Users] termination indicator in lsqrsolve > > > > > > > > > > hello, I?m using the function lsqrsolve and I wonder what is the > difference > between the termination indicator 2 and 5, and what can I do if I get the > "2". > > 2: number of calls to fcn reached > 5: number of calls to fcn reached or exceeded maxfev > > I?m getting the termination indicator 2, and there is no way to avoid > it. I > increased maxev but nothing happens, so I can?t get a good solution. > > Thank you, > > > -- > View this message in context: > http://mailinglists.scilab.org/termination-indicator-in-lsqrsolve-tp4019532.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > > Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont > ?tablis ? l'intention exclusive des destinataires et les informations > qui y figurent sont strictement confidentielles. Toute utilisation de > ce Message non conforme ? sa destination, toute diffusion ou toute > publication totale ou partielle, est interdite sauf autorisation expresse. > > Si vous n'?tes pas le destinataire de ce Message, il vous est interdit > de le copier, de le faire suivre, de le divulguer ou d'en utiliser > tout ou partie. Si vous avez re?u ce Message par erreur, merci de le > supprimer de votre syst?me, ainsi que toutes ses copies, et de n'en > garder aucune trace sur quelque support que ce soit. Nous vous > remercions ?galement d'en avertir imm?diatement l'exp?diteur par > retour du message. > > Il est impossible de garantir que les communications par messagerie > ?lectronique arrivent en temps utile, sont s?curis?es ou d?nu?es de > toute erreur ou virus. > ____________________________________________________ > > This message and any attachments (the 'Message') are intended solely > for the addressees. The information contained in this Message is > confidential. Any use of information contained in this Message not in > accord with its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. > > If you are not the addressee, you may not copy, forward, disclose or > use any part of it. If you have received this message in error, please > delete it and all copies from your system and notify the sender > immediately by return message. > > E-mail communication cannot be guaranteed to be timely secure, error > or virus-free. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From scilab.org at entrelacs.net Wed May 30 12:14:49 2012 From: scilab.org at entrelacs.net (Christian.Mercat) Date: Wed, 30 May 2012 03:14:49 -0700 (PDT) Subject: Scilab 5.2.2 with SIVP 0.5.3 under Mac OS X 10.6 In-Reply-To: References: <1280418775.27645.3192.camel@korcula.inria.fr> Message-ID: <1338372889614-4022223.post@n3.nabble.com> > I installed OpenCV 2.0.0 via MacPorts. So far no problems. Ok, this I did. Actually I don't understand how scilab is going to know that OpenCV is "there" somewhere under /opt/local/lib/libopencv_etc.dylib for example, but how does it work? > I could also build > the SIVP toolbox by exec('builder.sci'). Here, I failed: -->exec('/Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.2/builder.sce', -1) Cr?ation des macros... -- Cr?ation de [SIVPlib] (Macros) -- genlib : Traitement du fichier : ycbcr2rgb.sci [snip] genlib : R?g?n?re les noms et les biblioth?ques Cr?ation de la passerelle... if ~MSDOS then //linux !--error 4 Variable non d?finie : MSDOS So I just hacked that line into if 1 then //~MSDOS then //linux in the file /Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.2/sci_gateway/c/builder_gateway_c.sce and got another error: -- Cr?ation de [SIVPlib] (Macros) -- Cr?ation de la passerelle... sh: pkg-config: command not found or compiling SIVP.")) !--error 10000 OpenCV (version >= 1.0.0) is needed for compiling SIVP. at line 72 of exec file called by : [...] So it seems that I don't have pkg-config and rightly so since I am using macports, and that the link with OpenCV is not there, I don't know where to tell Scilab to look for opencv. Thanks, Christian Mercat -- View this message in context: http://mailinglists.scilab.org/Scilab-5-2-2-with-SIVP-0-5-3-under-Mac-OS-X-10-6-tp2617683p4022223.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From andrea.lapiccirella at cnr.it Wed May 30 16:01:31 2012 From: andrea.lapiccirella at cnr.it (Andrea Lapiccirella) Date: Wed, 30 May 2012 16:01:31 +0200 Subject: Question about Scilab Message-ID: To whom it concerns, I am entirely new to SCILAB and I would like to know if it is possible to solve a quartic equation of an unknown. I do know the coefficients of the different powers of the above quoted unknown. Thanks Dottor Andrea Lapiccirella Via Francesco Marconi, 6 00168 Roma Cell +39 328 5710190 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Wed May 30 16:32:26 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 30 May 2012 15:32:26 +0100 Subject: [scilab-Users] Question about Scilab In-Reply-To: Message-ID: You could do something like: -->p=poly([24 -50 35 -10 1],'x','coeff') p = 2 3 4 24 - 50x + 35x - 10x + x -->roots(p) ans = 4. 3. 2. 1. HTH, Mike. -----Original Message----- From: Andrea Lapiccirella [mailto:andrea.lapiccirella at cnr.it] Sent: 30 May 2012 15:02 To: users at lists.scilab.org Subject: [scilab-Users] Question about Scilab To whom it concerns, I am entirely new to SCILAB and I would like to know if it is possible to solve a quartic equation of an unknown. I do know the coefficients of the different powers of the above quoted unknown. Thanks Dottor Andrea Lapiccirella Via Francesco Marconi, 6 00168 Roma Cell +39 328 5710190 No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2178 / Virus Database: 2425/5032 - Release Date: 05/29/12 From david.cheze at cea.fr Wed May 30 16:47:07 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Wed, 30 May 2012 07:47:07 -0700 (PDT) Subject: reducing timeseries dataset for later on linear interpolation Message-ID: <1338389227649-4022470.post@n3.nabble.com> hi, I would like to reduce a regularly sampled timeseries [t, y(t)] dataset by applying a transformation that is something like a reverse interpolation, reducing the number of points when there's no variation of y(t) : in the end, the data will be linearly interpolated in another scilab program. I guess that it deals with derivate and sampling of the signal but I'm not skilled in these topics and i would like to know if there's already an efficient function implemented in scilab to do that. Thanks for your help, David -- View this message in context: http://mailinglists.scilab.org/reducing-timeseries-dataset-for-later-on-linear-interpolation-tp4022470.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From hinow at uwm.edu Wed May 30 17:11:44 2012 From: hinow at uwm.edu (Peter Hinow) Date: Wed, 30 May 2012 10:11:44 -0500 (CDT) Subject: plotting a cube or a cuboid In-Reply-To: <427421221.552663.1338390323331.JavaMail.root@mail09.pantherlink.uwm.edu> Message-ID: <400193746.552812.1338390704514.JavaMail.root@mail09.pantherlink.uwm.edu> Dear fellow scilab users, is there a scilab routine to plot an axis-parallel cuboid. I guess I could work on it and write it if I'm brave using patches and plot3D, but I wonder if this has been done already. Thank you and best regards, Peter -- Peter Hinow, PhD Department of Mathematical Sciences University of Wisconsin - Milwaukee P.O. Box 413 Milwaukee, WI 53201-0413 USA phone: ++1 414 229 4933 https://pantherfile.uwm.edu/hinow/www/ From melaine.gautier at inria.fr Wed May 30 18:05:17 2012 From: melaine.gautier at inria.fr (Melaine Gautier) Date: Wed, 30 May 2012 16:05:17 +0000 (UTC) Subject: Compiling c++ project with with Windows (CallScilab, =?utf-8?b?YXBpX3NjaWxhYik=?= Message-ID: Hello, I'm having a problem with the last version of scilab!!! Not under linux (my software is working fine) but under Windows Previously I was working with the version 5.2.2 and I didn't have compilation problem (my software was working perfectly) but I've tried to update my scilab version to use the last version 5.3.3 (downloaded from http://www.scilab.org/products/scilab/download - Scilab 5.3.3 for 64 bits ). I'm getting linking problem despite I'm including the libraries : LibScilab.lib and api_scilab.lib (which is enough with scilab 5.2.2) The missing external symbols are : StartScilab, TerminateScilab, SendScilabJob, cmatptr_, creadchain_, printError, readNamedMatrixOfDouble, _imp__pvApiCtx, readNamedMatrixOfString I didn't find on the documentation a new lib to include so I'm wondering where is the problem Some of the error lines : error LNK2019: symbole externe non r?solu _StartScilab r?f?renc? dans la fonction "int __cdecl com::ScilabStart(class std::basic_string,class std::allocator >)" error LNK2019: symbole externe non r?solu _TerminateScilab r?f?renc? dans la fonction "int __cdecl com::ScilabTerminate(void)" (?ScilabTerminate at com@@YAHXZ) error LNK2019: symbole externe non r?solu _SendScilabJob r?f?renc? dans la fonction "int __cdecl com::ScilabSendJob(class std::basic_string,class std::allocator >)" ... Thanks for any help, Regards, Melaine From scilab.org at entrelacs.net Wed May 30 18:53:21 2012 From: scilab.org at entrelacs.net (Christian.Mercat) Date: Wed, 30 May 2012 09:53:21 -0700 (PDT) Subject: Scilab 5.2.2 with SIVP 0.5.3 under Mac OS X 10.6 In-Reply-To: <1338372889614-4022223.post@n3.nabble.com> References: <1280418775.27645.3192.camel@korcula.inria.fr> <1338372889614-4022223.post@n3.nabble.com> Message-ID: <1338396801356-4022793.post@n3.nabble.com> Ah, my friend Fredo and port search: port search pkg-config tell me that sudo port install pkgconfig is the way to go... So IPD is built successfully, but SIVP is still complaining: sh: pkg-config: command not found or compiling SIVP.")) -- View this message in context: http://mailinglists.scilab.org/Scilab-5-2-2-with-SIVP-0-5-3-under-Mac-OS-X-10-6-tp2617683p4022793.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From david.cheze at cea.fr Thu May 31 09:24:54 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Thu, 31 May 2012 00:24:54 -0700 (PDT) Subject: reducing timeseries dataset for later on linear interpolation In-Reply-To: <1338389227649-4022470.post@n3.nabble.com> References: <1338389227649-4022470.post@n3.nabble.com> Message-ID: <1338449094088-4024263.post@n3.nabble.com> Hi, I've done it that way: dat=[0 0 1 3 2 2 0 0 0 0 2 4 2 4 4 2 0 0 0 0]; plot2d(dat) datp=diff(dat); datp_1=[datp(1) datp(1:$-1)]; k=find(datp<>datp_1) datr=dat(k); plot2d(k,datr) i should have add the first point of dat in datr to have exactly the same curve but it works. Is there a more direct and efficient way to do that in Scilab? Thanks for your comment, David -- View this message in context: http://mailinglists.scilab.org/reducing-timeseries-dataset-for-later-on-linear-interpolation-tp4022470p4024263.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From melaine.gautier at inria.fr Thu May 31 15:12:50 2012 From: melaine.gautier at inria.fr (Melaine Gautier) Date: Thu, 31 May 2012 13:12:50 +0000 (UTC) Subject: Compiling c++ project with with Windows (CallScilab, =?utf-8?b?YXBpX3NjaWxhYik=?= References: Message-ID: Melaine Gautier writes: > > Hello, > > I'm having a problem with the last version of scilab!!! > Not under linux (my software is working fine) but under Windows > > Previously I was working with the version 5.2.2 and I didn't have compilation > problem (my software was working perfectly) but I've tried to update my scilab > version to use the last version 5.3.3 (downloaded from > http://www.scilab.org/products/scilab/download - Scilab 5.3.3 for 64 bits ). > > I'm getting linking problem despite I'm including the libraries : LibScilab.lib > and api_scilab.lib (which is enough with scilab 5.2.2) > > The missing external symbols are : StartScilab, TerminateScilab, SendScilabJob, > cmatptr_, creadchain_, printError, readNamedMatrixOfDouble, _imp__pvApiCtx, > readNamedMatrixOfString > > I didn't find on the documentation a new lib to include so I'm wondering where > is the problem > > Some of the error lines : > error LNK2019: symbole externe non r?solu _StartScilab r?f?renc? dans la > fonction "int __cdecl com::ScilabStart(class std::basic_string std::char_traits,class std::allocator >)" > error LNK2019: symbole externe non r?solu _TerminateScilab r?f?renc? dans la > fonction "int __cdecl com::ScilabTerminate(void)" (?ScilabTerminate com@@YAHXZ) > error LNK2019: symbole externe non r?solu _SendScilabJob r?f?renc? dans la > fonction "int __cdecl com::ScilabSendJob(class std::basic_string std::char_traits,class std::allocator >)" > ... > > Thanks for any help, > Regards, > Melaine > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at ... > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > Hi, I found a way to compile my project : do not use Scilab for 64 bits. If I'm using the 32 bits Scilab version, the compilation works, my project works!!! (I also tried with the version scilab 5.2.2 and I have the same problem/conclusion) Is it strange or did I miss to add an option (I'm doing the compilation with visual studio c++ express 2008, the project files are generated with CMake) Thanks, Melaine From melaine.gautier at inria.fr Thu May 31 16:58:16 2012 From: melaine.gautier at inria.fr (Melaine Gautier) Date: Thu, 31 May 2012 14:58:16 +0000 (UTC) Subject: Compiling c++ project with with Windows (CallScilab, =?utf-8?b?YXBpX3NjaWxhYik=?= References: Message-ID: Melaine Gautier writes: > > Hello, > > I'm having a problem with the last version of scilab!!! > Not under linux (my software is working fine) but under Windows > > Previously I was working with the version 5.2.2 and I didn't have compilation > problem (my software was working perfectly) but I've tried to update my scilab > version to use the last version 5.3.3 (downloaded from > http://www.scilab.org/products/scilab/download - Scilab 5.3.3 for 64 bits ). > > I'm getting linking problem despite I'm including the libraries : LibScilab.lib > and api_scilab.lib (which is enough with scilab 5.2.2) > > The missing external symbols are : StartScilab, TerminateScilab, SendScilabJob, > cmatptr_, creadchain_, printError, readNamedMatrixOfDouble, _imp__pvApiCtx, > readNamedMatrixOfString > > I didn't find on the documentation a new lib to include so I'm wondering where > is the problem > > Some of the error lines : > error LNK2019: symbole externe non r?solu _StartScilab r?f?renc? dans la > fonction "int __cdecl com::ScilabStart(class std::basic_string std::char_traits,class std::allocator >)" > error LNK2019: symbole externe non r?solu _TerminateScilab r?f?renc? dans la > fonction "int __cdecl com::ScilabTerminate(void)" (?ScilabTerminate com@@YAHXZ) > error LNK2019: symbole externe non r?solu _SendScilabJob r?f?renc? dans la > fonction "int __cdecl com::ScilabSendJob(class std::basic_string std::char_traits,class std::allocator >)" > ... > > Thanks for any help, > Regards, > Melaine > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at ... > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > Hi, I found a way to compile my project : do not use Scilab for 64 bits. If I'm using the 32 bits Scilab version, the compilation works, my project works!!! (I also tried with the version scilab 5.2.2 and I have the same problem/conclusion) Is it strange or did I miss to add an option (I'm doing the compilation with visual studio c++ express 2008, the project files are generated with CMake) Thanks, Melaine From allan.cornet at scilab.org Thu May 31 18:26:44 2012 From: allan.cornet at scilab.org (allan.cornet at scilab.org) Date: Thu, 31 May 2012 18:26:44 +0200 Subject: [scilab-Users] Re: Compiling c++ project with with Windows (CallScilab, =?UTF-8?Q?api=5Fscilab=29?= In-Reply-To: References: Message-ID: <1fc775d1ad33eef7df5a7ffd9040ea00@scilab.org> Hi, Have you try examples in SCI/modules/call_scilab/examples/call_scilab/c/visual_studio In Scilab 5.3.x we splist dependencies. You must add: api_scilab.lib, call_scilab.lib as dependencies to your vs project or #pragma comment(lib, "../../../../../../bin/call_scilab.lib") #pragma comment(lib, "../../../../../../bin/api_scilab.lib") in your code. Please notice that in x64 target, your code must call a scilab x64 and that in x86 target, your code must call scilab 32 bit Best regards Allan CORNET On Thu, 31 May 2012 14:58:16 +0000 (UTC), Melaine Gautier wrote: > Melaine Gautier writes: > >> >> Hello, >> >> I'm having a problem with the last version of scilab!!! >> Not under linux (my software is working fine) but under Windows >> >> Previously I was working with the version 5.2.2 and I didn't have >> compilation >> problem (my software was working perfectly) but I've tried to update >> my scilab >> version to use the last version 5.3.3 (downloaded from >> http://www.scilab.org/products/scilab/download - Scilab 5.3.3 for >> 64 bits ). >> >> I'm getting linking problem despite I'm including the libraries : >> LibScilab.lib >> and api_scilab.lib (which is enough with scilab 5.2.2) >> >> The missing external symbols are : StartScilab, TerminateScilab, >> SendScilabJob, >> cmatptr_, creadchain_, printError, readNamedMatrixOfDouble, >> _imp__pvApiCtx, >> readNamedMatrixOfString >> >> I didn't find on the documentation a new lib to include so I'm >> wondering where >> is the problem >> >> Some of the error lines : >> error LNK2019: symbole externe non r?solu _StartScilab r?f?renc? >> dans la >> fonction "int __cdecl com::ScilabStart(class >> std::basic_string> std::char_traits,class std::allocator >)" >> error LNK2019: symbole externe non r?solu _TerminateScilab r?f?renc? >> dans la >> fonction "int __cdecl com::ScilabTerminate(void)" (?ScilabTerminate >> > com@@YAHXZ) >> error LNK2019: symbole externe non r?solu _SendScilabJob r?f?renc? >> dans la >> fonction "int __cdecl com::ScilabSendJob(class >> std::basic_string> std::char_traits,class std::allocator >)" >> ... >> >> Thanks for any help, >> Regards, >> Melaine >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at ... >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ >> >> > > Hi, > > I found a way to compile my project : do not use Scilab for 64 bits. > If I'm using the 32 bits Scilab version, the compilation works, my > project > works!!! (I also tried with the version scilab 5.2.2 and I have the > same > problem/conclusion) > > Is it strange or did I miss to add an option (I'm doing the > compilation with > visual studio c++ express 2008, the project files are generated with > CMake) > > > Thanks, > Melaine > > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/