马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
把帮助中avifile例程抄下来,也报错
fig=figure;
set(fig,'DoubleBuffer','on');
set(gca,'xlim',[-80 80],'ylim',[-80 80],...
'NextPlot','replace','Visible','off')
mov = avifile('example.avi')
x = -pi:.1:pi;
radius = 0:length(x);
for k=1:length(x)
h = patch(sin(x)*radius(k),cos(x)*radius(k),...
[abs(cos(x(k))) 0 0]);
set(h,'EraseMode','xor');
F = getframe(gca);
mov = addframe(mov,F);
end
mov = close(mov);
Can not locate Indeo5 compressor. Compressor can be downloaded and installed from the Ligos web site.
我找不到这个解压补丁,想干脆不用解压,或Windows的解压,
用mov = avifile('example.avi','compression','MSVC');
或mov = avifile('example.avi','compression','None');
又都
??? Failed to open file.
Error in ==> avifile.avifile at 171
aviobj.FileHandle = avi('open',filename);
请问我该怎么办,多谢 |