想做在matlab里做一个控制MSP430单片机的GUI界面,要与IAR交互的

2024-11-24 06:48:02
推荐回答(3个)
回答1:

请右键Build&Run这个按钮,然后选择callback函数
里面改成你的iar。
编译环境要和你的单片机环境兼容,其他接口不要改,主要改callback函数下调用css的函数接口。不懂追问,谢谢。

回答2:

我觉得这个用labview比较好吧,我做过单片机经过串口和labview通信。

回答3:

GUI Alternatives
To plot a selected matrix as an image use the Plot Selector in the Workspace Browser, or use the Figure Palette Plot Catalog. Manipulate image characteristics in plot edit mode with the Property Editor. For details, see Plotting Tools — Interactive Plotting in the MATLAB Graphics documentation and Creating Graphics from the Workspace Browser in the MATLAB Desktop Tools documentation.Syntax
image(C)image(x,y,C)image(x,y,C,'PropertyName',PropertyValue,...)image('PropertyName',PropertyValue,...)handle = image(...)Description
image creates an image graphics object by interpreting each element in a matrix as an index into the figure's colormap or directly as RGB values, depending on the data specified.
The image function has two forms:
*
A high-level function that calls newplot to determine where to draw the graphics objects and sets the following axes properties: o
XLim and YLim to enclose the image o
Layer to top to place the image in front of the tick marks and grid lines o
YDir to reverse o
View to [0 90] *
A low-level function that adds the image to the current axes without calling newplot. The low-level function argument list can contain only property name/property value pairs.
You can specify properties as property name/property value pairs, structure arrays, and cell arrays (see set and get for examples of how to specify these data types).
image(C) displays matrix C as an image. Each element of C specifies the color of a rectangular segment in the image.