Why do I receive an error when using Simulink Response Optimization 2.1 (R14SP1) with a SimMechanics model?

1 回表示 (過去 30 日間)
I have a SimMechanics model. I have added a Simulink Response Optimization (SRO) Signal Constraint block. When I simulate the model, I receive the following error:
Undefined function or variable 'DataLog'.
If I try again, I receive the error:
A configuration set named 'OptConfig' is already attached to the model.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
We have verified that there is a bug in Simulink Response Optimization 2.1 (R14SP1) in the way that it handles SimMechanics models with custom signal logging names. This seems to be a dependence on having the default signal logging name "logsout". The model most likely has the 'SignalLoggingName' set to 'DataLog' instead of the default 'logsout'.
To work around this issue, try changing the signal logging name property back to the default 'logsout'.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeManual Performance Optimization についてさらに検索

製品


リリース

R14SP1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by