Advertisement
asidesi

savesnap function

Jan 14th, 2021
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.25 KB | None | 0 0
  1. function dummy=savesnap(u,v,p,count,file)
  2. filenameU=[file,'U',num2str(count),'.mat'];
  3. save(filenameU,'u');
  4. filenameV=[file,'V',num2str(count),'.mat'];
  5. save(filenameV,'v');
  6. filenameP=[file,'P',num2str(count),'.mat'];
  7. save(filenameP,'p');
  8. dummy=0;
  9.  
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement