Why won't vision.DeployableVideoPlayer work in MATLAB compiler deployed executable?
1 次查看(过去 30 天)
显示 更早的评论
I am trying to deploy some code using the fast video display calling the Computer Vision Toolbox vision.DeployableVideoPlayer. This system object is supposedly supported with the MATLAB Compiler.
Here is some quick demo code:
%************
function TestVid()
% Quick test of MATLAB compiler on vision.DeployableVideoPlayer
vidp = vision.DeployableVideoPlayer;
for i=1:1000,
step(vidp,rand(2048,2048,3)),
end
release(vidp)
%*************
I compile with MATLAB compiler deploytool, and the weird thing is that it works fine on my PC (64-bit Windows 7 Pro), but will exit without giving an error if I install and try to execute on two other laptops (64-bit Windows 7 Pro & Windows 8)
I just upgraded to 2015b from 2015a hoping would fix, but did not. Seems like there is some file or .dll that is not getting installed, but I have no way of finding out what the issue is. There is no previous information I could find regarding this on the internet either.
2 个评论
Harsheel
2016-1-28
to see what error you get, can you try running the exe file from the Windows DOS prompt?
采纳的回答
更多回答(1 个)
Birju Patel
2016-1-28
Hi,
That's strange. What happens if you try to reduce the image size from 2048x2048x3 to something like 10x10x3? Does it still fail?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!