.ExternData.Examples.XMLTestInnerOuter

Information

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

Contents

NameDescription
 Component

Generated at 2024-04-19T18:16:02Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos