Or, how about some Dovetail Splines in a mitered corner?
Dovetail Splines.jpg
Done pretty much like Dave said, drew the DT sockets on the joined panels, connected associated corners with lines, then drew my DT spline to fill the socket. Copied the sockets down one side using a copy/array, then moved them to the other corners by scaling the copied socket from the first corner.