We report a computer code that affects several efficiencies in taking a recently developed filter optimization algorithm into practice. The algorithm (Richard D. Juday, `Optimal realizable filters and the minimum Euclidean distance principle,' Applied Optics, in press) analytically optimizes filters on arbitrary modulators (coupled, binary, full complex, fractional 2(pi) phase, etc.). Its quadratic ratio metrics include intensity, signal to noise, and peak to correlation energy. The user supplies necessary information to the program, and also certain common complex arithmetic functions. The code is to be available from COSMIC under the name `MEDOF -- Minimum Euclidean Distance Optical Filters,' NT control number MSC-22380.