You can checkout this smiliar answer - https://in.mathworks.com/matlabcentral/answers/416516-3d-phase-portrait
Also I found a package for this, if this may help - https://in.mathworks.com/matlabcentral/fileexchange/65952-phase-plane-plotter
Some more links, if these can help.