how to implement Matlab gui code in FPGA Board
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
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?
Walter Roberson
2017 年 5 月 19 日
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.
best16 programmer
2017 年 5 月 20 日
is it possible to use a Raspberry Pi or arduino with the gui application?
Walter Roberson
2017 年 5 月 20 日
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
2017 年 5 月 20 日
thank you that was really helpful.
can you please explain what do you mean by improve gui interface?
Walter Roberson
2017 年 5 月 20 日
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 についてさらに検索
製品
参考
2017 年 5 月 19 日
2017 年 5 月 20 日
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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)
