Background: The on-board test system is the key technology of in-wheel motor electric vehicles, which plays a vital role in the safety of the driver and the efficient operation of the vehicle. Methods: Based on the requirements of the current in-wheel motor electric vehicle experiment teaching content, this research develops an in-wheel motor electric vehicle experimental teaching platform based on Matlab/Simulink and LabVIEW to meet the current needs of the in-wheel motor electric vehicle experiment teaching content. Results: The vehicle speed, sideslip angle, and road adhesion coefficient can be accurately estimated using the vehicle test platform developed in the article. Conclusion: With accurate experimental results, the functionality, value, and teaching value of the in-wheel motor electric vehicle experimental teaching platform were fully verified.