[Scilab-Dev] Matrix -> String representation-> Matrix

Enrico Segre enrico.segre at weizmann.ac.il
Tue Nov 4 11:15:03 CET 2008


Michael Welle wrote:
> Hi,
>
> I need to convert matrices containing various types to a string
> representation. Later I need to convert the string representation back
> to the matrices with their original types. I can do this in a C module
> (that I need anyway) or with SciLab built ins. Maybe string( m ) and
> type( m ) is the way to go for the first conversation step? Any wise
> words on this?
>
>   
pedestrian way is sci2exp(), but it suffered of limitations (at the 
moment I don't recall which). Have a look at FormatStringsForWatch(), 
there we thought at several ad hoc solutions for odd types.

Enrico 




More information about the dev mailing list