asking for avi name - movie2avi

Hi, im making avi file using getframe and movie2avi. Is there a way to display window that will ask for a name of avi file? Something like:
filename = input('Name of avi file:', 's');
movie2avi(handles.F, 'filename.avi','fps',2);
But this is not working and its asking in comand window not in a new window. Thx.

 采纳的回答

Mats
Mats 2013-4-11

0 个投票

I suggest you take a look at http://www.mathworks.nl/help/matlab/ref/uicontrol.html. You are looking for a editbox as style option.

2 个评论

Nono, i wanted something different. what i want is that when user press certain button in gui, new window will show where user will type name of avi file and then the avi file will be saved...
I was looking for inputdlg function.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by