Error: Unable to resolve the name out.Y

29 visualizzazioni (ultimi 30 giorni)
I have a simulink file with a simout named as out.Y . When I try to run an fmincon function using matlab2019b terminal, it throws error saying "Unable to resolve the name out.Y". However the issue doesnot occur with 2019a or 2018
  2 Commenti
Daniel Ferreira
Daniel Ferreira il 14 Nov 2020
how did you solve this ?
Manuel Inglés Guirao
Manuel Inglés Guirao il 19 Nov 2020
I have the same problem but cannot find any solution

Accedi per commentare.

Risposta accettata

Sarasij Banerjee
Sarasij Banerjee il 23 Nov 2020
Under the 'Configuration and Simulation', go to 'model settings'. On entering, go to 'Data Import/Export'. Uncheck the Single simulation output box, and you're done!!
  8 Commenti
Aayush
Aayush il 30 Set 2022
Maybe your code has a "clear" command on top

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Programmatic Model Editing 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!

Translated by