sdpsettings('solver','knitro','knitro.Algorithm', 'interior-point')
sdpsettings('solver','knitro','knitro.Algorithm', 'active-set')
sdpsettings('solver','knitro','knitro.Algorithm', 'sqp')
work respectively for algorithms 1, 3, and 4.
I do not know how/if algorithm 2 (Interior/CG) can be set with knitro.Algorithm.
However, all algorithms, as well as many other options, can be specified using sdpsettings('solver','knitro','knitro.optionsfile','filename of knitro options file'))
where 'filename of knitro options file' is the filename of the knitro options file you wish to use.