change directory crash gui

I make a gui using GUIDE, it has three different files of bmp pics.The problem is all the functions i wrote to these files only works in the same directory that i put the functions,the fig archive an m file. I was trying change directory using cd command ang uigetdir and does the change ,but ALL THE GUI DOES NOT RESPOND.ANY CLUE to fix that?

 채택된 답변

Image Analyst
Image Analyst 2011년 10월 28일

1 개 추천

Don't do that. Create the full filename and use that when you call imread. See this GUI tutorial if you need an example:
Description
This GUI will help the novice user get up to speed very quickly on using GUI-based applications. Everything is laid out in a very simple Step 1, Step 2, Step 3, etc. layout. It is a very good starting point for a typical image analysis application. This application uses GUIDE to do the user interface design, and has most of the basic controls such as buttons, listboxes, checkboxes, radio buttons, scrollbars, etc. ............

댓글 수: 1

Warren
Warren 2011년 11월 6일
It was really helpfful, the initial values stored in your mat file is a way i couldn't figure it out.I really apreciatte your answer...In fact you did it really quick.Thanks a lot !!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

태그

질문:

2011년 10월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by