[scilab-Users] Check code on SCILAB``
jaundreventer at gmail.com
jaundreventer at gmail.com
Fri Aug 5 22:18:46 CEST 2011
Thanks will try and see if it works
Many thanks
Sent via my BlackBerry from Vodacom - let your email find you!
-----Original Message-----
From: Serge Steer <serge.steer at inria.fr>
Date: Thu, 4 Aug 2011 18:06:44
To: <users at lists.scilab.org>
Reply-To: users at lists.scilab.org
Subject: Re: [scilab-Users] Check code on SCILAB``
To help debugging a Scilab code you may use:
- the pause instruction at the point where an error is detected (editing the code)
- the setbpt command that can create a breakpoint at the specified line of the specified code. Quite similar to "pause" but do not requires to modify the source code.
- the errcatch(errn,'pause') instruction, that will make the code pause just after the error with number errn arises.
- finally you may also use the copy paste technic (copy one source code instruction at a time and paste it into the console)
I hope this will help you.
Serge Steer
INRIA
----- Mail original -----
De: "Jaundre Venter" <jaundreventer at gmail.com>
À: users at lists.scilab.org
Envoyé: Mercredi 3 Août 2011 09:56:25
Objet: [scilab-Users] Check code on SCILAB``
Hi all
I am busy with 9 ordinary differential equations and are getting the wrong values and results and a few errors.
Now I just want to know is there like a "Check code/step in run or a debug run" you can insert or do in SCILAB, to ask SCILAB to run the model and to stop if there is a error or to give you where you inserted the "Check code/step in run or a debug run" the results and if you are happy you just hit enter and then it goes to next line? I know visual basics can do that as I heard so I was just wondering if SCILAB can do it as well.
Then I am getting confuse with when to use a "comma, a semi comma, brackets or square brackets"
What and when do you normaly use "comma, a semi comma, brackets or square brackets" because I think I am not using it correctly?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110805/bd5f8743/attachment.htm>
More information about the users
mailing list