How to install torchvision of previous version?

For the problem of matlab(which can only import pytorch0.3.1), I should use pytorch0.3.1. But the current torchvision0.2.1 seems to only match pytorch0.4, so how can I install a torchvision which can match the pytorch0.3.1?