The crtrp function from the genetic-toolbox doesn't work

1 visualización (últimos 30 días)
Cantor Set
Cantor Set el 19 de Oct. de 2019
Respondida: Walter Roberson el 19 de Oct. de 2019
Whenever I try to run the code, it gives me an erorr saying:
Error: File: crtrp.m Line: 34 Column: 19
"nargin" previously appeared to be used as a function or command,
conflicting with its use here as the name of a variable.
A possible cause of this error is that you forgot to initialize the
variable, or you have
initialized it implicitly using load or eval.
I attached the m.file of crtrp

Respuestas (1)

Walter Roberson
Walter Roberson el 19 de Oct. de 2019
Line 34 can be deleted.

Categorías

Más información sobre Genetic Algorithm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by