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
Walter Roberson 2017-12-25
编辑:Walter Roberson 2017-12-26

0 个投票

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!

Translated by