<div dir="ltr">Thanks <span style>Clément</span>! That helped.<br><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 11:36 AM, Clément DAVID <span dir="ltr"><<a href="mailto:clement.david@scilab-enterprises.com" target="_blank">clement.david@scilab-enterprises.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Take a look at xcos tests :), we use importXcosDiagram and xcos_simulate with diagrams containing a "to workspace" block.<br>
<br>
Then we check against reference values using the assert functions.<br>
<br>
--<br>
Clément<br>
<br>
Le 11/06/2012 21:26, Sumeet a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
I'm developing a signal processing blockset for xcos. For each block, I<br>
am creating a test diagram in parallel. I've attached a screenshot of my<br>
test diagram.<br>
<br>
As shown in the diagram, I send the matrix output by the block to the<br>
workspace, and write notes on the diagram stating the desired values in<br>
the matrices. However, this is cumbersome since it requires manual<br>
verification by the user. Is there something equivalent to an assert<br>
statement in xcos, that lets the user verify whether the block works<br>
correctly?<br>
<br>
Any creative ideas?<br>
<br>
Sumeet.<br>
<br>
<br></div></div><span><font color="#888888">
--<br>
To unsubscribe from this mailing-list, please send an empty mail to<br>
<a href="mailto:dev-unsubscribe@lists.scilab.org" target="_blank">dev-unsubscribe@lists.scilab.<u></u>org</a><br>
To check the archives of this mailing list, see<br>
<a href="http://mailinglists.scilab.org/" target="_blank">http://mailinglists.scilab.<u></u>org/</a><br>
</font></span></blockquote><span><font color="#888888">
<br>
<br>
-- <br>
Clément DAVID<br>
Scilab Enterprises<br>
skype://clement_david_scilab<br>
<br>
--<br>
To unsubscribe from this mailing-list, please send an empty mail to<br>
<a href="mailto:dev-unsubscribe@lists.scilab.org" target="_blank">dev-unsubscribe@lists.scilab.<u></u>org</a><br>
To check the archives of this mailing list, see<br>
<a href="http://mailinglists.scilab.org/" target="_blank">http://mailinglists.scilab.<u></u>org/</a><br>
<br>
</font></span></blockquote></div><br></div>