<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 18/02/2013 20:52, fitzyfish a
écrit :<br>
</div>
<blockquote cite="mid:1361217130352-4025965.post@n3.nabble.com"
type="cite">
<pre wrap="">Is there a Scilab equivalent for the MATLAB function handle @ to call a
function indirectly e.g.
sqr = @(x) x.^2;</pre>
</blockquote>
<br>
<font face="Courier New, Courier, monospace">deff('y = sqr(x)','y =
x.^2')<br>
</font><br>
Then<br>
<tt><br>
</tt><tt>-->sqr(2)</tt><tt><br>
</tt><tt> ans =</tt><tt><br>
</tt><tt> 4. </tt><tt><br>
</tt><br>
HTH<br>
Samuel<br>
<br>
</body>
</html>