fluiddyn.util.matlab2py.mat2wrongpy

Matlab -> wrong Python translator

Many more simple transformations can be implemented, for example:

disp(

print(

zeros(...)

np.zeros((...))

Functions

create_py_code(path_file)

is_comment_line(line)

modif_blocks(code_lines)

modif_comments(code_lines)

modif_remove_3dots(code_lines)

modif_remove_semicolon(code_lines)

treat_matlab_directory(path_dir)