how to implement Matlab gui code in FPGA Board
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
이전 댓글 표시
0 개 추천
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
채택된 답변
Walter Roberson
2017년 5월 19일
You cannot do that. FPGA do not have any plotting / gui routines.
You could have a look at https://www.mathworks.com/products/vision-hdl.html -- since it would theoretically be possible to compute every pixel for what you want to display on your GUI.
댓글 수: 6
best16 programmer
2017년 5월 19일
편집: best16 programmer
2017년 5월 19일
thank you.
actually i have a two questions i will not use the gui for image processing ,it will used to plot some curve .is that still impossible?
the second question what do you propose as another alternative for FPGA?
I was going to say that FPGA do not have a display, but it turns out that some of them do. See https://www.mathworks.com/matlabcentral/fileexchange/20532-writing-characters-to-lcd-display-on-xilinx%C2%AE-spartan%C2%AE-3a-fpga-board
If you need something higher resolution than a small LCD display, then you will need to either use a different device completely (not FPGA), or else you will need to connect the FPGA to a device. Some FPGA have analog lines that can be driven to control external analog devices (for example a CRT), or you could have the FPGA send digital data to a device that knew how to handle displaying it. One way of sending digital data to display is to use the Vision HDL package, which provides a framework to create pixel-oriented digital data to be passed out to a device that creates video from the pixels.
is it possible to use a Raspberry Pi or arduino with the gui application?
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.
thank you that was really helpful.
can you please explain what do you mean by improve gui interface?
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.
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Code Generation에 대해 자세히 알아보기
제품
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
