To use the genetic algorithm at the command line, call the genetic algorithm function ga with the syntax.
www.mathworks.com