.ExternData.Examples.XLSTest

Information

This example model reads the gain parameters from different cells and sheets of the Excel XLS file test.xls. For gain1 the gain parameter is read as Real value using the function ExternData.XLSFile.getReal. For gain2 the String value is retrieved by function ExternData.XLSFile.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.XLSFile.getRealArray2D. The read parameters are assigned by parameter bindings to the appropriate model parameters.

Contents

Name Description
 computeColSum Compute column sum

Generated at 2020-04-07T01:38:57Z by OpenModelicaOpenModelica 1.16.0~dev-263-g761b5de using GenerateDoc.mos