Error accessing a file with activex player
1 次查看(过去 30 天)
显示 更早的评论
I have a GUI and simple button with the call back:
function [] = free_bird_call(varargin)
m=figure;
h=actxcontrol('WMPlayer.OCX.7', [150 150 300 300], m);
%[filename, pathname] = %uigetfile('*.*,','Please select a file');
h.URL='Stronger.aviC:\Users\Lawson\Documents\MATLAB\Videos\'; % [pathname filename];
h.controls.play;
end
When I press the button the figure pops up along with the player, but then a pop up box shows saying:
The file you attempting to to play has an extension (.) that does not match the file format. Playing the file may result in unexpected behavior.
My file was downloaded as a .flv and then converted to .avi
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 ActiveX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!