The ruling contains three key statements:
1. "...the Militia [originally] comprised all males physically capable of acting in concert for the common defense...[and] ordinarily, when called for service these men were expected to appear bearing arms supplied by themselves and of the kind in common use at the time."
I'm not aware of any scholar who disagrees with this.
2. "With obvious purpose to assure the continuation and render possible the effectiveness of [state militias], the declaration and guarantee of the Second Amendment were made. It must be interpreted and applied with that end in view."
The defendants in Miller, indicted for possessing a sawed-off shotgun (considered a "gangster weapon"), were career criminals who were not even arguably preparing for militia service in any way. The ruling thus cannot reasonably be interpreted as saying that only currently enrolled militia members have a right to bear arms--if that's what the justices believed, that's what they would have said. They would have simply ruled that the defendants were clearly not under the protection of the Second Amendment, with no need to discuss what would then be completely extraneous details. Instead, the Court also wrote:
3. "In the absence of any evidence tending to show that possession or use of a 'shotgun having a barrel of less than eighteen inches in length' at this time has some reasonable relationship to the preservation or efficiency of a well regulated militia, we cannot say that the Second Amendment guarantees the right to keep and bear such an instrument."
In other words, the reason the defendants can be prosecuted is because the specific weapon they carried was alleged to be something other than a "military weapon." Do you believe the logic of Miller can be used both to ban handguns for self-defense, as Justice Stevens' Heller dissent argued it could, and also used to ban firearms that are criticized precisely because they're useful for military service?
NOTE: The Heller opinion did say military weapons were not immune from regulation, but then we get into "common use," "dangerous" and/or "unusual," and other things that are far beyond the scope of this question. Miller is the case they have long pointed to as stating the proper interpretation, and we are not discussing heavy weaponry but rather a firearm of technology that has existed for at least 125 years.
As for the argument that the Second Amendment is frozen in time to muskets, that's not how any other right works and not something the Miller opinion ever came close to implying.