Error using imwrite command
2 次查看(过去 30 天)
显示 更早的评论
Hello. I wrote an example of the imwrite function in Matlab 2019Rb version, but it gives an error. Please help me.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1138255/image.png)
0 个评论
采纳的回答
Walter Roberson
2022-9-27
MATLAB cannot automatically determine the image type being requested when you ask for a file name with extension jpg<SPACE> .
I recommend that you remove the leading and trailing spaces from your file names.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!