Blog for Users

Comments

Scilab replacing Matlab because of its functionality and open source.

Scilab is improving at a tremendous pace and because it is free of cost and open source project, it will become more popular in coming days. Focus must be on to improve the documentation work.
Meanwhile, I had a question that is there any fully implemented wavelet toolbox in Scilab similar to that in Matlab?

yes it has and can easily be installed through atoms.

hello i am very new to scilab , past 1month iam trying to learn and understand scilab and scicos, iam basically from cs background and know less about scicos block building.
my requirement is to call scicos functionalities in motif or c.
I am currently working in linux scilab version 4.1.1 .
desinged a simple block in scicos and compiled it(a simple integrater shown in demo live tutorial). i need to call this simulation model in motif or c.
i tried the following

load myscicosblk.cos

state=%cpr(1);
sim=%cpr(2);
tf=100;
tol=[1d-5,1d-7,1d-9,tf];
[state,t]=scicosim(state,0,tf,sim,'start',tol)
----> Err 56 expecting list ( something like this iam getiing errormessage)

its throwing some error...
Can anybody help me.... urgent.......................

we can call it by system call ,

the problem in above is solved
there is another problem , when we call the myscicosblk.sce from command line it opens the simulation. there are two windows opened and one is blank and other is showing the simulation results. but the x and y scale is missing.
Can any one help me as why it happens so???

hello,

I have written some scripts in scilab and put it into a file called (my.sce). Now i want to call this file from php code that to be published on web. So how can I do that??

Hello,

Please guide me to install Scilab on Fedora13. From last couple of days I am trying to do same, with help of google. But I am getting installation errors.

Please help me. Thanks in advance.

Regards,

Aniket A. Salunkhe

Hi,

     I created one small toolbox and its help files etc as given in the scilab website (instruction for creating a new toolbox), when I tried to build it, bug with id 7253 was raised, following was the result on console :

 

-->exec('E:\Program Files\scilab-5.2.2\contrib\commbox11\builder.sce', -1)
Building macros...
-- Creation of [commbox11lib] (Macros) --
Building help...

Building the master document:
    SCI\contrib\commbox11\help\en_US

Building the manual file [javaHelp] in SCI\contrib\commbox11\help\en_US. (Please wait building ... this can take a while)
 !--error 999
buildDoc: Error while building documentation: .
at line     734 of function xmltoformat called by :  
at line      13 of function xmltojar called by :  
at line       6 of function tbx_build_help called by :  
tbx_build_help('commboxt11',get_absolute_file_path('build_help.sce'));
at line       3 of exec file called by :    

at line      10 of function tbx_builder_help_lang called by :  
tbx_builder_help_lang("en_US", help_dir);
at line       5 of exec file called by :    

at line       8 of function devtools_run_builder called by :  
at line       3 of function tbx_builder_help called by :  
tbx_builder_help(get_absolute_file_path('builder.sce'))
at line      55 of exec file called by :    
exec('E:\Program Files\scilab-5.2.2\contrib\commbox11\builder.sce', -1)
 
                                                                        !--error 999
buildDoc: Execution Java stack  at java.util.Stack.peek(Unknown Source)
 at com.icl.saxon.aelfred.SAXDriver.getSystemId(SAXDriver.java:1238)
 at org.xml.sax.SAXParseException.<init>(Unknown Source)
 at org.scilab.modules.helptools.CopyConvert.run(Unknown Source)
 at org.scilab.modules.helptools.BuildDocObject.preProcessMaster(Unknown Source)
 at org.scilab.modules.helptools.BuildDocObject.process(Unknown Source)

 

 

So the problem is with the help part,I have verified all the xml help files and have created build files exactly the same way as mentioned in website. Can you help me on this ?

Regards,

vinayak

vinayak@ee.iitb.ac.in

 

 

Dear sir ,

            I am new in scilab.I used xcos.i got " type incompatability compilation error" in xcos,when i wanted to see the output of J-k flip flop in mscope.i think the eeror was due to fact that:::---

the type of out port port =5

& type of input port of scope is 1.

so how can i  see the output of flip flof  ?

 

please help me ....

Dear sir ,

              I am new in scilab. I faced one problem in xcos.

             I got acompilation error -"type incompatability",when i wanted to see the output of JKFLIPFLOP in CSCOPE or CMSCOPE.  I think the error is due to fact that ::----

   # type of output port  of JKFLIPFLOP is 5.   &

  # type of input port  of CSCOPE or CMscope is 1.


  so how can i see the output of JKFLIPFLOP ?

please please help me ....I m designing an electronic circuit...

 

DearSir,
 
When I tried to run atomsInstall SIVP on WindowsXP Professional OS
 
the following error has occurred:
-------
atomsInstallList: The package SIVP is not available.
 !--error 10000 
 
at line      51 of function atomsError called by :  
at line      76 of function atomsInstallList called by :  
at line     217 of function atomsInstall called by :  
atomsInstall SIVP
----------
 
Please guide me How to Install the toolbox and how to do the proxy settings? And also How to check whether the SIVP toolbox is really installed/working after installation?
 
Thanks and regards,
 
Rajesh Raut
SRKNEC, Nagpur

Hello Friend,

I am Senthilkumar.R , Assit. Professor, IRTT, Tamilnadu. If you install SIVP in scilab in 5.2.2 it will not work. Use scilab new version 5.3 and goto atom install SIVP it will work. The installation procedure is given in the SIVP website itself.

Give me ur reply whether u are able install or not to my mail Id

rsenthil_signalprocess@in.com

 

With regards,

R.Senthilkumar,

Assistant Professor,

Department of Electronics and Communication Engineering,

Institute of Road and Transport Technology,

Erode, TN

wat is sivp and how do i get it

The SIVP atom will not work in scilab version 5.2. But it will work well in scilab5.3. The installation procedure is given in the SIVP webiste itself. Any body want to use SIVP, install scilab 5.3 and go to atom and update SIVP. It will install SIVP automatically from its website. Try it give me ur feedback.

With regards,

R.Senthilkumar,

Assist. Professor,

Deparment of Electronics and Communication Engg.,

Institute of Road and Transport Technology,

Erode - Tamilnadu

E.mail Id:rsenthil_signalprocess@in.com

Sir,

I came to know about this project a bit late and so did one of my friends (Dibya Deepta Mishra id="mishrad").

We applied for this only yesterday along with three proposed books, I request you that the replies to our application be sent a bit soon so that we would get time to write down the code for the first chapters because otherwise we will get only hours to do so.

Sorry for the inconvenience caused,

 

Regards,

Brian Coutinho,

3rd year(EE),

IIT Rajasthan

I am very new in using Scilab, I am looking for a good samalintant to assist me on the Simulation and Modeling of half 2D car by using Scilab.

 

Dear All,

 I am doing simulation of electrical circuits using XCOS. I have  realized the circuit but during compilation or simulation I am getting the following

!sorry compiling problem               !

!A Fortran or C compiler is required.  !

 !--error 4 

Undefined variable: model

   I have installed LCCWIN32 software but I am getting the same error only.

  Can anyone pl tell me how can I overcome this problem? Also what is the C compiler to be installed ?

Thanks and Regards

Dhaivat

Sir ,

 may i know where do i have to add maxima toolbox to use laplace functions ..... it is showing an error 'file not found'......while executing builder.sce

else can i get these functions like ,heaviside ,rect functions and laplace transforms without using the toolbox...

Hello Sir,

While doing sci lab programme i am facing a warning message too often when i am executing any programme. I am new to silab. Please help me by suggesting me how to eradicate this warning. The warning i am getting says like below

Warning : redefining function: length                  . Use funcprot(0) to avoid this message


Thank You,

Regards

Tushar Kashyap

Use different function name

or

just add a function funcprot(0) in your program

Hallo,

As like xPC for simulink, which real time software supports Scilab apart from linux.

Anybody having idea in rapid control prototyping, pls help me.

whenever the first element of a row becomes zero in routh array it is replaced by eps

but when i tried to extract the first column and check its elements then error is displayed for < or > logical operations

error 144

sir we define variable in problems

I have registered with scilab.in but still i am not able to view the form for internship. 

There is a link  "Book Proposal Form" under the Textbook Companion Project in left side of the website.

I have registered with scilab.in but still I am not able to view the form for internship.

There is a link  "Book Proposal Form" under the Textbook Companion Project in left side of the website.

Sir I have registered for the internship and also my codes for particular chapter for the tentatively alloted books has been approved.I am waiting for the registration forms which you have mentioned in the website[*Simultaneously,you should fill the IITB registration form (Link will be made available soon on the website) and post it to us.].Can you please let me know on this. Regards, S.Puneeth Kumar

Dear Puneeth,


Please contact at scibooks@techpassiontech.com & textbook@scilab.in for any query related to Textbook Companion Project, I am forwarding your query on both the above email ID's.

Sir,

 

Can we propose new book after completing my currently allotted book??

Yes, you can start new book after completing the current one, please don't post your queries here as a comment, you should contact at textbook@scilab.in and scibooks@techpassiontech.com for any queries and clarifications.

 

C = 600P + 0.03E + 300(500000 - P) + 0.13(2190000000 - E)

here C,P,E are all variables
.

How to find (dE/dP) when C is minimum.....i.e to find (dE/dP), when dC/dP=0 .....??

I used many options in maxima,but couldn't get the required result.



If we manually solve,we get

(dC/dP) = 600 + 0.03(dE/dP) - 300 - 0.13 (dE/dP) = 0

=>  (dE/dP)=3000


Iam trying to install symbolic toolbox .Everytime I install it as insisted in spoken tutorial I get information that i have not installed maxima. But I have installed it .I will get reply like this

 

 


\\


-->exec builder.sce
 
-->mode(-1);
 
-->exec loader.sce
 
-->mode(-1);
 
 SYMBOLIC TOOLBOX ERROR: Maxima is not in your path or is not installed   
 
 If Maxima is installed add its path in the following file:   
 
 C:\Users\Shreyas\Desktop\maxima_symbolic\maxima_symbolic\SYM\server\serveur.sce   
 
 
Symbolic Math Toolbox. Type hlp symbolic.
file://C:/Users/Shreyas/Desktop/maxima_symbolic/maxima_symbolic/SYM/doc/index.html
%helps = [DIR+'man', libtitle;%helps]    // no help at that time
                                !--error 4
Undefined variable: %helps

at line      60 of exec file called by :    
exec loader.sce
 
 //

 

can anyone help me with this problem .

its urgent......

Hey , fromwhere did u download symbolic toolbox..??

through the link provided in this website only.....

The error message gives you a hint:

SYMBOLIC TOOLBOX ERROR: Maxima is not in your path or is not installed   
 
 If Maxima is installed add its path in the following file:  

 C:\Users\Shreyas\Desktop\maxima_symbolic\maxima_symbolic\SYM\server\serveur.sce  

I suggest you add the Maxima path to the serveur.sce file.

sir same problem with me too...

 

i am not able to install overload toolbox/atom it says

 

exec('C:\Users\Karan\Desktop\OVLD\builder.sce', -1)

 

or sometimes

 

exec('C:\Users\Karan\Desktop\Overload_Toolbox\builder.sce', -1)
 !--error 10000
This toolbox requires a compiler to build.
at line       3 of function tbx_builder_src called by :  
tbx_builder_src(toolbox_dir);
at line      18 of exec file called by :    
exec('C:\Users\Karan\Desktop\Overload_Toolbox\builder.sce', -1)

 

 

please help me its urgent

 

thanks

 

please help me its urgent

 

thanks

i work under windows(window 7 ultimate)
I have already installed maxima perl in my system as given in the follow link:-

http://spoken-tutorial.org/wiki/index.php/Scilab_Symbolic_Toolbox-English

the problem now is i am not able to  edit the serveur.sce file (we need to change here the version of maxima to 5.20.1) ,how and where i exactly have to edit this serveur.sce code

error during execution of this code is

 SYMBOLIC TOOLBOX ERROR: Maxima is not in your path or is not insta       lled                                                            If Maxima is installed add its path in the following file:     serveur.sce  

Thanks

sir ,

im using windows 7 whenever i compile an xcos file im getting 

'sorry compiling problem 

a fortran or a c compiler is required 

 

pls help me out .... 

 and where can i see the compiled output

We need to install LCC WIN 32 C compiler for compiling the xcos files.

I do not mean all blocks of xcos need those.If you realize the electrical circuit using the differential equations using step block,Gain block, integrator blocks etc.. then you do not need the C compiler.

But anyways it is easy to install LCC Win 32 compiler which is in  ATOMS

For more details and queries pl post on

http://scilab.in/node/432

Regards

Dhaivat

Sir,

I wanted to know how to upload the .scg files coz it is not accepting it or should I upload the codes without the .scg files.

Dear sir,

                I have installed Scilab 5.3 in my LINUX - UBUNTU 11.04 OS. The problem is that, I am not able to find an appropriate tool box for executing several control system problems: finding the Laplace Transform, Transfer function, solving differential equations, etc. It would be of great help if u solve my problem as soon as possible,

Thanking you,

regards,

kiran

 

Sir,


I am using the ANN Toolbox on scilab.

Can you please help me in this problem, as i m not getting any assistance in this.


If i have 7 inputs with 256 attributes each, then should it be my matrix size

x-  7X256 (Dimension)
N =[ 7 10 7]  // taking 10 as the number of neurons in the hidden layer
t=  1X7 (Dimension)

I am getting error in this, while using ann_FF_Std_online_nb( ).......

It will be very grateful, if you can tell me where i am wrong with my dimensions.

please speify the error you are getting while executing the code.

prashant

Sir,

I am executing this code.

 

I=imread('zero.jpg'); 
I=rgb2gray(I); 
I=imresize(I,[16 16]);
k=1;
for i=1:16
for j=1:16
G(1,k)=I(i,j);
k=k+1;
end;
end; 
A=imread('two.jpg'); 
A=rgb2gray(A); 
A=imresize(I,[16 16]);
k=1;
for i=1:16
for j=1:16
G(2,k)=A(i,j);
k=k+1;
end;
end;
t=[1 3];  // target output
N=[2 256 2]; 
lp=[8 0];
r=[-1,1];
 W=ann_FF_init_nb(N,r);
T=500;
 
 
W=ann_FF_Std_online_nb(G,t,N,W,lp,T);
!--error 21 
Invalid index.
 
at line      31 of function ann_FF_Std_online_nb called by :  
W=ann_FF_Std_online_nb(G,t,N,W,lp,T);
 
May there is any problem with matrix index.
 
Actually i have taken two inputs and each input has 256 features.
 
So, please tell me where i am wrong.
 

Hello Sir,

I have installed the scilab tool box as guided by the spoken tutorial. When i installed and followed the procedure it worked well and fine but once i closed the console and restart again it doesn't work. I have to go for executing builder.sce and loader.sce for OVLD and SYM each time i am starting the scilab and wanted to use symbolic function. So why is this occuring? Is this the way scilab works or some solution is there for my problem. Please help me as soon as possible. I will be grateful to you for this.


Thank You

Regards

Tushar Kashyap

Good day,

I am a mature student and would like to know if any courses are going to be held for Scilab in the Pune area in the immediate future.

Thanks

you can visit the upcoming workshops page to know the details

sir,

 

Please show me the link to the iitb registration form required to be filled for the project.I have completed coding and I'm waiting for getting the schedule for the reviewal in this month as my vaccation is going on.

Your's faithfully,

Jumana mp

Pages