how do i get my image to display. it keeps erroring out on me.

 Réponse acceptée

Image Analyst
Image Analyst le 28 Jan 2026
The image you specified is not in your current folder (where your script is) or on your search path. You can either
  1. move your image to the folder where your m-file is,
  2. add the folder where your image lives to the path using the "Set Path" icon on the Home tab of the tool ribbon, or
  3. specify the full path (folder + base file name) in your string passed into imread.

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by