MATLAB Answers

how to implement Matlab gui code in FPGA Board

6 views (last 30 days)
hi everyone,i have an application developped in matlab gui and want to implement it in a FPGA Board, i don't know from to start.can you please explain in step by step how to do this.
thank you


Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 19 May 2017
You cannot do that. FPGA do not have any plotting / gui routines.
You could have a look at -- since it would theoretically be possible to compute every pixel for what you want to display on your GUI.


Show 3 older comments
Walter Roberson
Walter Roberson on 20 May 2017
Yes, with the Raspberry Pi you can control the 8 x 8 LED matrix, so you could draw one character at a time
There used to be a website named guimp that had an amazing number of games and features packed into 18 x 18 pixels. See for example their pacman. So you might want to use a 2 x 2 matrix of raspberry pi to reach 18 x 18 pixels to improve your gui interface.
best16 programmer
best16 programmer on 20 May 2017
thank you that was really helpful.
can you please explain what do you mean by improve gui interface?
Walter Roberson
Walter Roberson on 20 May 2017
Well, an 8 x 8 pixel display is really hard to work with -- just barely big enough for one character. But the work of guimp shows that you can do useful work in 18 x 18 pixel (though, mind you, the author of guimp had multiple colors and intensities to work with.) So if you were to take 4 raspberries and arrange them in a square, then you would have 16 x 16 pixels to work with, and perhaps that would be enough to do something readable with. Maybe not, considering there would be a gap between the 8 x 8 subsections.
Perhaps it would be better to arrange the four in a row so you could use four character words like 'stop' and 'run?'.
Hmmm, maybe even just one board would be enough. You could cycle through symbols like up-arrow and down-arrow, and the user could just wait until the one they wanted came around again and press (whatever) then. Or if you added in the joystick you could do one character at a time the way that you enter your name in the high score of a video game.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by