Ensure we select the correct discretization when exporting to m-files.