read .fig files from raspberry pi
显示 更早的评论
I don't know how to read .fig files (using GUIDE) from raspberry pi using 7 inch touch display,Please help
采纳的回答
Walter Roberson
2017-12-25
编辑:Walter Roberson
2017-12-26
Raspberry Pi uses a Linux operating system, so you could ftp or scp the fig file to the raspberry pi. Mathworks has published a description of binary format of .mat files, and fig files are really just mat files; you could probably find a library of code to read the files.
However, I am having a hard time thinking of anything useful that you could do with the fig file on the raspberry. The representation of graphic objects is not documented so you would find it difficult to figure out what the data in the fig file represents.
There is no publicly known API for raspberry to be able to read MATLAB fig file graphics objects and do anything with them.
If the intention is to run a Guide GUI on the raspberry pi itself then there is no known way of doing that.
If you want to create user interfaces to run on the raspberry pi, you either need to program all of the graphics and user interface yourself (possibly calling upon published third party libraries), or else you need to code everything as a Simulink model restricting yourself to the interface blocks provided by Simulink for use with raspberry; those can then be Deploy To Hardware
7 个评论
Thanks for your reply sir, Please mention those third party libraries
https://www.raspberrypi.org/forums/viewtopic.php?f=67&t=167483
https://www.raspberrypi.org/forums/viewtopic.php?t=192273
https://www.google.ca/url?q=http://mindchunk.blogspot.com/2012/09/openvg-on-raspberry-pi.html%3Fm%3D1&sa=U&ved=0ahUKEwjKl47eiqfYAhVCyYMKHcLcDMsQFggZMAM&usg=AOvVaw317AplAb2fBk93fQtv-jsi
I followed it,and all those instructions are used to create GUI in linux itself.But I created GUI using two push buttons in matlab ,And I don't know how to enable these push buttons in 7 inch LCD touch display which is connected with raspberry pi via HDMI cable
You cannot do that. MATLAB itself cannot generate graphics or user interfaces for raspberry: that is why I said you will need to program those yourself.
Simulink has some ability to generate graphics for raspberry pi, but it is not very advanced.
Thanks for your reply sir.Please tell about simulink abilities that you mentioned
or else please give me the procedure to program for this situation
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Raspberry Pi Hardware 的更多信息
另请参阅
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)
