-
Notifications
You must be signed in to change notification settings - Fork 83
/
postanimate.m
23 lines (22 loc) · 1.26 KB
/
postanimate.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%POSTANIMATE Plot and animate solution.
%
% [ M ] = POSTANIMATE( PROB, VARARGIN ) Postprocessing function to
% plot and animate FEATool solutions. PROB is a valid finite element
% problem struct. If an IMGNAME is given video or frames will be
% saved in the corresponding IMGFMT (images will be appended with
% the frame number before the image file extension). Optionally also
% returns image frames in the struct M that can be played with the
% movie command. Accepts the following property/value pairs as for
% postplot and the following additional properties
%
% Property Value/{Default} Description
% -----------------------------------------------------------------------------------
% start integer/{1} Solution to start animation
% step integer/{1} Step size (positive/negative integer)
% end integer/{end} Solution to end animation
% pause scalar/{0} Pause between frame generation (seconds)
% imgname string/{} Image/video base filename
% imgfmt png,mp4,avi/{jpeg} Output image/video format
%
% See also POSTPLOT, MOVIE, VIDEOWRITER, PRINT
% Copyright 2013-2024 Precise Simulation, Ltd.