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

2 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 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'.

More Answers (0)

Categories

Find more on Manual Performance Optimization in Help Center and File Exchange

Products


Release

R14SP1

Community Treasure Hunt

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

Start Hunting!