matlab报错One or more output arguments not assigned during cal
来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/04/19 06:37:33
matlab报错One or more output arguments not assigned during call to'movie'
matlab语句如下
i=0
for x=0:0.1:2*pi
y=sin(x)
plot(x,y,'r*')
hold on
i=i+1;
F(i)=getframe;
end
Mo=movie(F,2);
movie2avi(Mo,'firsttime.avi','FPS',1)
运行过后会出现:
? Error using ==> movie
One or more output arguments not assigned during call to "movie".
请问这是怎么回事?该如何修改才能生成avi/
请行家解答,谢谢了!
matlab语句如下
i=0
for x=0:0.1:2*pi
y=sin(x)
plot(x,y,'r*')
hold on
i=i+1;
F(i)=getframe;
end
Mo=movie(F,2);
movie2avi(Mo,'firsttime.avi','FPS',1)
运行过后会出现:
? Error using ==> movie
One or more output arguments not assigned during call to "movie".
请问这是怎么回事?该如何修改才能生成avi/
请行家解答,谢谢了!
clc
i=0;
for x=0:0.1:2*pi
y=sin(x);
plot(x,y,'r*')
hold on
i=i+1;
F(i)=getframe(gcf);
end
% movie(F,2);
movie2avi(F,'first.avi','fps',1, 'compression', 'None')
这个程序试过了,没有问题了.希望解决了你的问题.
i=0;
for x=0:0.1:2*pi
y=sin(x);
plot(x,y,'r*')
hold on
i=i+1;
F(i)=getframe(gcf);
end
% movie(F,2);
movie2avi(F,'first.avi','fps',1, 'compression', 'None')
这个程序试过了,没有问题了.希望解决了你的问题.
matlab报错One or more output arguments not assigned during cal
One or more output arguments not assigned during call to
matlab错误提示?One or more output arguments not assigned during
One or more output arguments not assigned during call to 'C:
One or more output arguments not assigned during call to 'E:
MATALB 错误?One or more output arguments not assigned during c
Matlab问题 为什么会出现?One or more output arguments not assigned du
Matlab Simulink中的 S函数报错,One or more output arguments not ass
matlab报错Z must be a matrix, not a scalar or vector,哪里出错了?
matlab求定积分报错The integrand function must return an output vec
matlab报错,The integrand function must return an output vector
Error using input Not enough input arguments matlab