How to stop at the line generating warning

classic Classic list List threaded Threaded
3 messages Options
fujimoto2005 fujimoto2005
Reply | Threaded
Open this post in threaded view
|

How to stop at the line generating warning

This post was updated on .
During a loop, I have the following warning.
"operation +: Warning adding a matrix with the empty matrix will give an
empty matrix result."
The loop continues and eventually fails.
Since I use operation + in many places, it is difficult to find out which
line is the cause of the warning.
Is it possible to stop at the line that generated the warning and display
that line number?

Beat regards,
Masahiro Fujimoto



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] Re : Stopping at the line generating warning

Hello,

Yes, with
--> warning stop

Regards
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
fujimoto2005 fujimoto2005
Reply | Threaded
Open this post in threaded view
|

Re: Re : Stopping at the line generating warning

Dear Samuel
I could identify the line causing the problem.
Thak you!



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users