Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Matlab中AppDesigner中imread()函数引起的一个错误_Matlab_User Interface_Imread_Matlab App Designer - Fatal编程技术网

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

我在MATLAB中使用AppDesigner,每当我在按钮中使用imread()函数时,此错误消息显示:

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错误在我重新启动计算机后消失了!:)非常感谢。