You have two options:
- Model the system to extract the differential equations and the use a solve to find the temporal behavior of the system.
- Use Simulink to model and simulate the system, using the Simscape->Electrical->Electronics and Mechatronics package.
I think your professor was talking about the second one.