MATLAB not saving vector

folks. At the end of my code I want to save a vector variable for further use on MATLAB 2016a. At the end, I am using save 'ref.mat' P;, but nothing shows up on any folders of my PC. What may be the problem?