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 CenterFile Exchange에서 Manual Performance Optimization에 대해 자세히 알아보기

제품


릴리스

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by