Borrar filtros
Borrar filtros

Error when opening compiled matlab file with video content

2 visualizaciones (últimos 30 días)
Matt
Matt el 11 de Dic. de 2014
Editada: Matt el 1 de Feb. de 2015
Hello,
I have compiled a script file which uses an activeX WMP item to display a video. However, when I double click the .EXE, I get this message when the GUI is opened:
"Serialization of COM object failed. 'Windows Media Player' could not be restored to its previous state.
Make sure AAA_activex1 is in the same directory as your GUI."
What does that mean and how can I solve this error?
Thanks!

Respuestas (2)

Matt
Matt el 21 de En. de 2015
I have solved this error! I forgot to include the activeX file into the additional files before compiling the whole thing, stupid mistake.
However, another issue arises now because I am using a pushbutton to load a .MAT file and another one to load that .AVI file. The problem is that if I do not include .MAT and .AVI files during the compiling, I hear the error bip signal when I load them from the .EXE file created. As these files are user dependent, I cannot include them during the compiling process!
Finally, if I do include 2 example files during the compiling process and try to play the video, it just does not work. My computer is an i7 4770K so power is not a limiting factor, but I have the impression that the app is just too slow (eventho it works fine from MATLAB directly).
Any idea?

Matt
Matt el 1 de Feb. de 2015
Editada: Matt el 1 de Feb. de 2015
Nobody to help?
How comes the OPEN function (for a .MAT file) in my script works fine when in MATLAB, but not after the script has been compiled?

Community Treasure Hunt

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

Start Hunting!

Translated by