Genetic Algorithm Optimizatioin - Error

1 vue (au cours des 30 derniers jours)
Abderrahmane DADA
Abderrahmane DADA le 6 Déc 2019
I was trying to run my GA optimization code on Matlab R2019b but unfortunately, I have got an error that states the following: One or more output arguments not assigned during call to "varargout".
For information, my code has been run on R2017a many times without getting out this error.
Any advice please.
  2 commentaires
Walter Roberson
Walter Roberson le 6 Déc 2019
What shows up for
which -all rng
Abderrahmane DADA
Abderrahmane DADA le 6 Déc 2019
Modifié(e) : Abderrahmane DADA le 6 Déc 2019
Here is what was showed up:
C:\Program Files\MATLAB\R2019b\toolbox\matlab\randfun\rng.m

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 6 Déc 2019
D:\Matlab\mrst-2018a\modules\octave\rng.m
You need to get that off of your MATLAB path. There is also a fair risk that other files in the same directory will interfere with using matlab
  1 commentaire
Abderrahmane DADA
Abderrahmane DADA le 7 Déc 2019
I have removed the other Matlab versions and it works fine.
Thanks.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by