Dear Statalist,
I have a small, but curious problem when working (at beginner level) with Mata to which I cannot seem to find the solution:
When I use the command "mata describe" the namelist that can optionally follow does (to my reading) not seem to work as described in the namelist entry in the Mata manual.
Toy example:
Why do the last two lines issue error r(198)? According to "help namelists" using * in this way should be possible. I guess I'm missing something very basic here.
I have a small, but curious problem when working (at beginner level) with Mata to which I cannot seem to find the solution:
When I use the command "mata describe" the namelist that can optionally follow does (to my reading) not seem to work as described in the namelist entry in the Mata manual.
Toy example:
Code:
mata
mata clear
A = J(5,5,5)
B = J(1,1,1)
A_hm = J(5,5,5)
B_hm = J(1,1,1)
Bx_hm = J(1,1,1)
mata describe
mata describe A_hm
mata describe *
mata describe A_*
mata describe *_hm
mata describe B*_hm
end

Comment