Systune problems finding signals in Simulink

1 view (last 30 days)
Jim Farkas
Jim Farkas on 25 Feb 2014
Commented: Craig on 18 Apr 2014
Hi,
I'm trying to tune a simulink model (slTunable) with systune, using addControl and addMeasurement for signal names defined in the model. Right now pretty straightfoward small model. Systune is choking when the measurements are used in the tuningGoal field. I get a :
Error using slTunable/systune (line 68) Tracking requirement: The identifier "Alpha-sen" matches zero or more than one output signals
The tuneable object says it is there:
>> ST1.Measurements
ans =
'Fresh/Demux/2[Alpha-sen]'
'Fresh/Demux/1[Bank-sen]'
Tracking Goal:
TA = TuningGoal.Tracking({'Alpha-ref'},{'Alpha-sen'},4,.2);
>> TA
TA =
Tracking with properties:
Input: {'Alpha-ref'}
Output: {'Alpha-sen'}
MaxError: [1x1 zpk]
Focus: [0 Inf]
Models: NaN
Openings: {0x1 cell}
Name: ''
[STUN,fSoft,~,Info] = ST1.systune(TA,OPT);
Thanks!
  1 Comment
Craig
Craig on 18 Apr 2014
What are your IOs specified in the slTunbale object?
Thanks, -craig

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!