An error caused by imread() function in AppDesigner
Show older comments
I'm using AppDesigner in MATLAB, and whenever I use imread() function inside a button this error message displays:
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335)
Error while evaluating Button PrivateButtonPushedFcn.
4 Comments
Walter Roberson
on 2 Feb 2020
Use the debugger to put a breakpoint on the imread line, and run. When the debugger stops, Step that line so that you can see the entire error message.
Lamya Mohammad
on 2 Feb 2020
Edited: Lamya Mohammad
on 2 Feb 2020
Walter Roberson
on 2 Feb 2020
One of the DLLs is missing that is needed by
C:\Program Files\MATLAB\R2019b\bin\win64\builtins\matlab_toolbox_iofun_builtins\mwmlxcodereader_builtinimpl.dll
You might be able to figure out which one by using one of the tools mentioned at https://www.raymond.cc/blog/check-what-dll-or-ocx-dependency-files-is-needed-for-a-software/
Chances are that you will have to install either Visual Studios Runtime, or else reinstall part of MATLAB.
Lamya Mohammad
on 2 Feb 2020
Answers (0)
Categories
Find more on Image Preview and Device Configuration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!