- READ DATA initiate button
- loop and read
- update value based on color
MATLAB GUI interfaced with PIC microcontroller via RS232 help needed (should be easy for experienced MATLAD's); as swiftly as may be convenient
3 次查看(过去 30 天)
显示 更早的评论
Hi Guys.
My application is simple (I think?)
I have a microcontroller hooked up to an RS232 comm port which communicates via RS232 (UART).
From the uC, I am reading temperature values from an attached sensor (see P1 P2 P3 etc. in figure below, these are integer values). This sensor outputs thermal data read in a 4x4 arrangement, about the focus area (there are two of these sensors as seen in figure below). I would like to make a MATLAB gui, capable of reading the data from the UART comms and displaying the number in blocks on screen in real-time. I would also like it if the background of each block reading could gradually change color from blue till read, blue being the coldest blocks and red being the warmest blocks as the read temperatures increase.
Any suggestions? I have NEVER done this before; so please take it easy on me. I am sure that this is easy for you guys.
Where do I start? Below is an illustration of my query:![MATLAB GUI.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246837/MATLAB%20GUI.jpeg)
![MATLAB GUI.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246837/MATLAB%20GUI.jpeg)
Would this sort of thing be possible? How difficult is it to acheive (I'm on a tight deadline and I am a complete noob)?
Kind Regards, Sheldon
1 个评论
Ruger28
2019-11-5
If you have never made a GUI before, and are new to MATLAB, this is going to be challenging for you. It will be a fairly large work effort needed to accompolish this task. I suggest you look up GUIDE tutorials (depending on your MATLAB version).
but....in terms of flow after GUI created.
Something like that is where I would start.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!