Genetic Algorithm Optimizatioin - Error

1 回表示 (過去 30 日間)
Abderrahmane DADA
Abderrahmane DADA 2019 年 12 月 6 日
コメント済み: Abderrahmane DADA 2019 年 12 月 7 日
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 件のコメント
Walter Roberson
Walter Roberson 2019 年 12 月 6 日
What shows up for
which -all rng
Abderrahmane DADA
Abderrahmane DADA 2019 年 12 月 6 日
編集済み: Abderrahmane DADA 2019 年 12 月 6 日
Here is what was showed up:
C:\Program Files\MATLAB\R2019b\toolbox\matlab\randfun\rng.m

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2019 年 12 月 6 日
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 件のコメント
Abderrahmane DADA
Abderrahmane DADA 2019 年 12 月 7 日
I have removed the other Matlab versions and it works fine.
Thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by