openmodelicainterest  

OMShell and String variables

Alex Schenkman
Tue, 09 Feb 2010 05:30:40 -0800

Should this work on OMShell?
I expected a string back, but I got an empty line.

*>> list()

"model test

String x = "aString";

end test;

"

>> listVariables()

{}

>> instantiateModel(test)

"fclass test

String x = "aString";

end test;

"

>> simulate(test)

record SimulationResult

resultFile = "test_res.plt"

end SimulationResult;

>> val(x,0.2)


>>



*