Genetic Algorithm Optimizatioin - Error

2 views (last 30 days)
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 Comments
Abderrahmane DADA
Abderrahmane DADA on 6 Dec 2019
Edited: Abderrahmane DADA on 6 Dec 2019
Here is what was showed up:
C:\Program Files\MATLAB\R2019b\toolbox\matlab\randfun\rng.m

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 6 Dec 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 Comment
Abderrahmane DADA
Abderrahmane DADA on 7 Dec 2019
I have removed the other Matlab versions and it works fine.
Thanks.

Sign in to comment.

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!