Matlab中AppDesigner中imread()函数引起的一个错误
我在MATLAB中使用AppDesigner,每当我在按钮中使用imread()函数时,此错误消息显示:Matlab中AppDesigner中imread()函数引起的一个错误,matlab,user-interface,imread,matlab-app-designer,Matlab,User Interface,Imread,Matlab App Designer,我在MATLAB中使用AppDesigner,每当我在按钮中使用imread()函数时,此错误消息显示: Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335) Error while evaluating Button PrivateButtonPushedFcn. 当我在imread()行上放置断点时,我发现了整个错误消息: Caught "st
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335)
Error while evaluating Button PrivateButtonPushedFcn.
当我在imread()行上放置断点时,我发现了整个错误消息:
Caught "std::exception" Exception message is:
Bundle#166 start failed: Loading C:\Program Files\MATLAB\R2019b\bin\win64\builtins\matlab_toolbox_iofun_builtins\mwmlxcodereader_builtinimpl.dllfailed with error: The specified module could not be found.
请发布最小可复制代码示例-使用出现错误的
imread
函数创建一个小代码示例。复制整个app
类,并将其粘贴到您的问题中。这是一行,I=imread('a.jgp')代码>内部功能测试按钮按下(应用程序,事件)
I=imread('a.jgp')代码>或I=imread('a.jpg')代码>?抱歉,这是一个输入错误,是JPG错误在我重新启动计算机后消失了!:)非常感谢。