.ExternData.Examples.XMLTestXPath

Information

This example model reads the gain and table parameters from different nodes of the XML file test.xml. For gain1 the gain parameter is read as Real value using the function ExternData.XML2File.getReal. For gain2 the String value is retrieved by function ExternData.XML2File.getString and converted to a Real value (using the utility function Modelica.Utilities.Strings.scanReal). For timeTable the table parameter is read as Real array of dimension 3x2 by function ExternData.XML2File.getRealArray2D. The read parameters are assigned by parameter bindings to the appropriate model parameters.


Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos