Re: String to Matrix Actor

2009-02-15 Thread Merve ildeniz
Yes, that may solve my problem.   Thank you very much.   Sincerely,   Merve --- On Sat, 2/14/09, Edward A. Lee wrote: From: Edward A. Lee Subject: Re: String to Matrix Actor To: mildeniz...@yahoo.com Cc: ptolemy-hackers@bennett.EECS.Berkeley.EDU Date: Saturday, February 14, 2009, 10:35 AM

Re: String to Matrix Actor

2009-02-14 Thread Edward A. Lee
It's not clear to me exactly what you want, but ExpressionToToken (in the Conversions library) will convert strings in Matlab syntax to matrices. E.g., "[1, 2, 3; 4, 5, 6]" becomes a matrix with two rows and three columns. Is this what you want? Edward Merve ildeniz wrote: Hello, I am n

String to Matrix Actor

2009-02-13 Thread Merve ildeniz
Hello,   I am new to Ptolemy II and Kepler. I searched the ptolemy library for an actor that converts strings to matrices; however, I couldn't find.   If you could let me know whether there is such an actor and I missed, I would highly appreciate it.   Thank you in advance.   Sincerely,   Merve