Why do I receive an error when using Simulink Response Optimization 2.1 (R14SP1) with a SimMechanics model?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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.
Risposta accettata
MathWorks Support Team
il 27 Giu 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'.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Manual Performance Optimization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!