Reverse Method Python String Format Specifiers Matlab