<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Hello James,<br>
    <br>
    You are trying to create a variable that is a mix of both strings
    and doubles.<br>
    <br>
    You can do this by declaring an untyped list containing two fields:<br>
    <pre wrap="">plotOptions = list( command, value );</pre>
    but I wonder how you will further use it. Check out the <a
      href="http://help.scilab.org/docs/5.5.0/en_US/plot.html">plot help
      page</a> if you are trying to add options to a plot() command.<br>
    <br>
    Regards,<br>
    Paul<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 04/24/2014 05:23 PM, James Holland
      wrote:<br>
    </div>
    <blockquote cite="mid:1398352984799-4030369.post@n3.nabble.com"
      type="cite">
      <pre wrap="">Hello
I am attempting to port some Matlab scripts to Scilab. I am having problems
with the following code:

114         plotOptions = { command, value };

plotOptions has been declared as an empty matrix (N/A, double) command is a
1x1 string and value is a 1x3 double. The error message that I get is: 

!--error 144 
Undefined operation for the given operands.
check or define function %c_c_s for overloading.
at line     114 of function plotloggedsignal called by :  

Is there a simple workaround for this problem?

TIA
James



--
View this message in context: <a class="moz-txt-link-freetext" href="http://mailinglists.scilab.org/beginners-question-tp4030369.html">http://mailinglists.scilab.org/beginners-question-tp4030369.html</a>
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Paul BIGNIER
Development engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.69
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a> </pre>
  </body>
</html>