I am using Matlab 2017a with the WLAN Toolbox. As far as I can see, there is a bug in that the MPDU length is set incorrectly in the A-MPDU delimiter for 802.11ac (VHT) packets.
In R2017a/toolbox/wlan/wlanexamples/vhtWaveformGeneratePSDU.m there is a function named "delimiter" which sets this field. However, it basically does a direct de2bi(n,14) conversion to binary, which (as far as I can tell) fails to properly handle the two "MPDU Length High" bits described in the 802.11ac standard (see Figure Figure 8-505a1 in Section 8.6.1).
Has anyone else seen this? Or can anyone confirm whether this is a bug or not?