[英]Compiler problem when using Modelica CombiTable1Ds
我在 Dymola 环境 (2019 FD01) 上工作,我正在尝试创建一个 model,它可以从 a.mat 文件中读取值,更具体地说,是 [8761,14] 的天气数据矩阵。 为此,我使用具有以下配置的 CombiTable1Ds
Modelica.Blocks.Tables.CombiTable1Ds combiTable1Ds(
tableOnFile=true,
tableName="Beijing",
fileName="C:/Users/Folders/Beijing.txt",
columns=2:14,
smoothness=Modelica.Blocks.Types.Smoothness.ContinuousDerivative)
annotation (Placement(transformation(extent={{-34,-10},{-14,10}})))
当我尝试运行模拟时,收到以下错误
Compilation of Unnamed failed.
Compiler message:
Compiling and linking the model (Visual C++).
dsmodel.c
LINK : fatal error LNK1181: unable to open input file 'ModelicaIO.lib'
Error generating Dymosim.
我在这方面有点陌生,我不完全理解这种类型的错误。 我已经检查了 .mat 文件并且看起来很好(未损坏,兼容版本); 我阅读了 model 的文档,似乎实现得很好; 我也尝试过使用文档中描述的格式的 a.txt 文件 (#1\float Beijing(8761,14)\ 等等),但我得到了同样的错误。
任何人都知道可能是什么问题以及如何解决它? 我真的很感激谢谢,
model 应该可以工作,我在激活 DLL 模式的 Dymola 2019 FD01 中进行了测试。 tableName 和 fileName 对于此类问题无关紧要。
需要考虑的事项:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.