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

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일

0 개 추천

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개)

카테고리

제품

릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by