Why do I get a deserialization warning when capturing from a camera with SPMD?

2 views (last 30 days)
I am trying to use Basler cameras to record videos. I have succeeded on 4 machines I set up several years ago using the Add-on: Image Acquisition Toolbox Support Package for GenICam Interface.
Recently, I have tried setting up the same system on a new Windows machine. However, I get the following warning when I run my code:
Lab 1:
Warning: An error occurred when running a class's loadobj method. The
object that was loaded from the MAT-file was a copy of the object before
the loadobj method was run. The rest of the variables were also loaded from
the MAT-file.
The encountered error was:
Error using videoinput (line 202)
ADAPTORNAME must be specified as a character vector or string.
> In parallel.internal.pool.deserialize (line 29)
In parallel.internal.pool.deserializeFunction (line 12)
In spmdlang.remoteBlockExecution>iDeserializeInputs (line 179)
In spmdlang.remoteBlockExecution>iPrelude (line 119)
In spmdlang.remoteBlockExecution (line 36)
However, the cameras seem to be operating as expected. Does this warning message indicate that there's something wrong with my code or setup?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 5 May 2021
Errors encountered when loading an object always manifest as warnings and the warning in this case specifically says it is falling back to the copy of the object from deserialization before any specific loadobj function was applied. These warnings do not suggest anything negative from your workflow. As long as you are experiencing the expected behavior of your application, there should be nothing to worry about from this warning message. 

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!