Reading a video file and compile it inside BB by simulink


Is there a way to create a simulink block (to insert inside BB simulink library) that opens a video file and pulls out like ‘From multimedia file’ block?

I tried to compile a simulink model with a ‘From a Multimedia file’ inside BB but it fails and return an error in the command window:

stopping the model

Could not open library: frommmfile.dll