Evaluation and Matlab

255 views
Skip to first unread message

Douglas

unread,
Sep 16, 2009, 7:26:43 AM9/16/09
to ViPER Mailing List
Hi,

I have managed to get ViPER-GT data into Matlab. (Thank you again
David.) Now I want to figure out how to do two things 1) export my own
data from Matlab in ViPER xml format and 2) call methods from ViPER-PE
while still in Matlab.

Exporting my results in ViPER xml format means I can use ViPER-PE
command line evaluation tool to carry out analysis, and also use the
ViPER-GT viewer to view my results. To this end, can I call tools from
ViPER to help achieve this from within Matlab, or will I have to
construct the syntax manually? What I mean is, if I have data can I
use some ViPER calls in Matlab that will generate the right xml codes
ready for saving.

The second question is related. Putting aside the advantages of being
able to display my results using ViPER-GT, can I keep my results in
Matlab and call the ViPER-PE (java) tests while still in Matalb?


Kind regards,

Doglas

David Mihalcik

unread,
Sep 16, 2009, 9:06:33 PM9/16/09
to ViPER Mailing List
There is some information here:

http://viper-toolkit.sourceforge.net/docs/scripting/

But, as you know, it isn't always accurate. I'd recommend either
generating data in the old plain text format or using

viper.api.impl.XmlSerializer.toWriter(viperData, java.io.PrintWriter
(java.io.FileWriter('yourfile.xml')))

where viperData is a ViperData object. As far as I can remember, this
is how viper saves things internally.
Reply all
Reply to author
Forward
0 new messages