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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
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'.

Weitere Antworten (0)

Kategorien

Mehr zu Manual Performance Optimization finden Sie in Help Center und File Exchange

Produkte


Version

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by