A variable in (to workspace) block in SIMULINK not recognized in command window

I am working on PSO to tune PID controller using SIMULINK and used ITAE as the fitness function. i added ITAE from SIMULINK using (to workspace) block, but when i run the PSO code it shows me an error that (Unrecognized function or variable 'ITAE'.) and it doesn't appear in workspace.

1 Comment

? You use ITAE as the fitness function, but the code also expects ITAE to be a numeric variable?

Sign in to comment.

Answers (0)

Products

Release

R2024b

Asked:

on 12 Nov 2024

Commented:

on 12 Nov 2024

Community Treasure Hunt

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

Start Hunting!