How can I process a '.mat' file??

조회 수: 2 (최근 30일)
John Bitzios
John Bitzios 2014년 8월 28일
댓글: Michael Haderlein 2014년 8월 28일
If you download the program you will see there is a ButtonIcons.mat file which I think are the icons for the GUI buttons on the guitar tuner. How can I process this file ??
  댓글 수: 11
John Bitzios
John Bitzios 2014년 8월 28일
Is it a lot of work or a piece of cake?? If its a lot of work then I dont want to spend my time on it...but if its easy then I would like a few more information on it...for example how can you change the colour with only this command??
PlayDisabled=PlayDisabled(:,:,[3,1,2]);
Michael Haderlein
Michael Haderlein 2014년 8월 28일
Not much work for such a small image, just not as handy as in Paint or similar programs (when I woke up in the morning, I didn't expect to call Paint a handy program today). Anyway, you can just read wiki or similar about RGB images. There will be better explanations along with illustrations than I could ever provide. If you want to know what this [3,1,2] was, just define a little vector a=1:5 and play around with it the same way (a([3,1,2]),a([1,3,5]), whatever). You'll quickly see what happens ;-)

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by