Connect with us

gui in matlab

Discussion in 'Electronic Basics' started by [email protected], May 16, 2007.

Scroll to continue with content
  1. Guest

    hello everyone. I have a very important question:
    how can I create gui in matlab that recieves from the user a two
    dimensional space that includes buildings or poles and the program
    translates the drawing to a matrix that is made of "zeros" and
    "ones" ( when "1" indicates a part of the building and "0" indicates
    I will be happy to any help regarding this matter.
    thanks in advance..student
  2. Guest

    Take a look at this tutorial for getting started with GUI programming
    under matlab:

    You'd have to set up an m x n grid of inputboxes and then read those
    into a matrix. matlab also has functions for loading bitmaps which
    might be what you are looking for since you mentioned a "drawing".
  3. Guest

    hello, thanks for your comment (-:
    I tried reading the help manual in matlab and the link's manual as
    well but I still have a major problem:
    how to get the input from the user? I want the user to define a 2D
    space which will become a matrix...
    I geuss it's a bit more difficult than I thought.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day