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 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 Ildeniz
begin:vcard
fn:Edward A. Lee
n:Lee;Edward A.
org:UC Berkeley;EECS
adr:;;545Q Cory Hall;Berkeley;CA;94720-1770;USA
email;internet:e...@eecs.berkeley.edu
title:Robert S. Pepper Distinguished Professor
tel;work:+1-510-643-3728
tel;fax:+1-510-642-5745
x-mozilla-html:FALSE
url:http://www.eecs.berkeley.edu/Faculty/Homepages/lee.html
version:2.1
end:vcard