code to recall another code and extract answers

조회 수: 1 (최근 30일)
Ruben Alfaro
Ruben Alfaro 2014년 6월 24일
댓글: José-Luis 2014년 6월 24일
I have a code that analyzes an image and gives several different answers like A B C D E F G H
i want to create another code that runs for all images i have available like image1 image 2 image3 image4 image5
and extracts only the answers i need
lets say A and B
and puts them into matrices
like this
A=[ A1, A2, A3, A4, A5] B=[B1, B2, B3, B4, B5]
Can anyone give me an idea on how to do this?
thank you
  댓글 수: 1
José-Luis
José-Luis 2014년 6월 24일
  1. Make your code a function
  2. Call your function several times
  3. Store your results in an array. Cell arrays will store uneven results.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by