On Windows, nan and inf are incorrectly translated in <filename>.m
Under Windows 7 (and possibly Windows XP, need to check), the nan and inf values are respectively printed as 1.#IND and 1.#INF in the M-files generated by the preprocessor. This obviously leads to a crash.