AQM can be implemented in NS_2 and NS-3 (No Matlab, Matlab only for signal processing (mostly PHY layer) but not for data processing), Ns-2 and NS-3 used for packet level simulation, so NS-2 and NS-3 is the ideal open source tool for AQM implementation.
For high level simulations, you can implement the dynamic model of TCP source and router queue (Misra flow dynamic model) in Simulink. then connect multiple TCP source to the router queue to simulate a bottleneck link. Now, you can implement the AQM in Simulink and test it.