Dymola将翻译日志打印到文件 [英] Dymola print translation log to file

查看:54
本文介绍了Dymola将翻译日志打印到文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Dymola在消息窗口->翻译选项卡中显示了一些有趣的统计信息和有关翻译过程的信息.例如,我对线性和非线性系统的数量和大小感兴趣,我使用标志打开了其他信息:

Dymola shows some interesting statistics and information about the translation process in the message window -> translation tab. I am interested for example in the number and size of linear and nonlinear systems, and I turned on additional info using the flags:

  • Advanced.LogStructuredEvaluation = true;
  • Advanced.PrintFailureToDifferentiate = true;
  • Advanced.Translation.Log.FailureToInline = true;

是否可以将消息窗口翻译选项卡中显示的所有信息打印到文件中?也许甚至保留了允许在消息窗口中折叠/展开的结构?

Is there an option to print all the information shown in the message window translation tab into a file? Maybe even preserving the structure that allows folding/unfolding in the message window?

推荐答案

在翻译之前,您可以使用:

Before translation you can use:

Advanced.TranslationInCommandLog = true;

及之后:

savelog("logfile.txt");

我认为我们不能直接存储翻译日志,但这应该可以完成工作.

I don't think we can directly store the translation-log, but this should do the job.

这篇关于Dymola将翻译日志打印到文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆