OPTIMOPTIONS does not support code generation for function ‘ga’.
I get this error OPTIMOPTIONS does not support code generation for function ‘ga’ when I try to run a matlab function in simulink using genetic algorithm optimization methode;
options = optimoptions(‘ga’, ‘Display’, ‘iter’, …
‘PopulationSize’, 50, … % You can adjust this
‘MaxGenerations’, 100, … % You can adjust this
‘UseParallel’, true); % Use parallel computing if available
could someone help me please ?I get this error OPTIMOPTIONS does not support code generation for function ‘ga’ when I try to run a matlab function in simulink using genetic algorithm optimization methode;
options = optimoptions(‘ga’, ‘Display’, ‘iter’, …
‘PopulationSize’, 50, … % You can adjust this
‘MaxGenerations’, 100, … % You can adjust this
‘UseParallel’, true); % Use parallel computing if available
could someone help me please ? I get this error OPTIMOPTIONS does not support code generation for function ‘ga’ when I try to run a matlab function in simulink using genetic algorithm optimization methode;
options = optimoptions(‘ga’, ‘Display’, ‘iter’, …
‘PopulationSize’, 50, … % You can adjust this
‘MaxGenerations’, 100, … % You can adjust this
‘UseParallel’, true); % Use parallel computing if available
could someone help me please ? genetic algorithm, simulink, optimization MATLAB Answers — New Questions