Matlab really understands wildcards *, but in the sense that you're out of luck to adhere to the conditional restrictions of Windows cmd, you entered a string \*that is a literal asterisk (due to the backslash).
A workaround or preferred way of specifying paths on all platforms is to use a slash /as a directory selector.
dir('dirname/*')
, m "" ; , .
EDIT: , (. ).