fluiddyn.util.matlab2py.cleanmat

Clean Matlab code

Functions

is_comment_line(line)

modif_code(path_file)

modif_identation(code_lines)

modif_space_after_comma(code_lines)

modif_spaces_around_operators(code_lines)

modif_split_comments_from_code(code_lines)

modif_split_statements(code_lines)

modif_unwrap_if(code_lines)

treat_matlab_directory(path_dir)