想做在matlab里做一个控制MSP430单片机的GUI界面,要与IAR交互的
、上面的程序是这个界面在Matlab的GUI界面。在一个模型中双击任意空白出,在文本框里写入Build&Run,并设置下,单击Build&Run,就将启动代码自动生成工作...
、
上面的程序是这个界面在Matlab的GUI界面。在一个模型中双击任意空白出,在文本框里写入Build&Run,并设置下,单击Build&Run,就将启动代码自动生成工作,并自动调用CCS进行编译,下载,运行,然后自动弹出GUI界面。
我想问下大神们,怎么把上面步骤中的CCS替换成IAR呢?上面的程序应该改那些地方。而且我用的是430单片机的。要怎么改,能教教我么!!!!
由于字数限制,我只能把程序给删了。大神如果需要看下程序的话请弹QQ323213993,求大神指导 展开
上面的程序是这个界面在Matlab的GUI界面。在一个模型中双击任意空白出,在文本框里写入Build&Run,并设置下,单击Build&Run,就将启动代码自动生成工作,并自动调用CCS进行编译,下载,运行,然后自动弹出GUI界面。
我想问下大神们,怎么把上面步骤中的CCS替换成IAR呢?上面的程序应该改那些地方。而且我用的是430单片机的。要怎么改,能教教我么!!!!
由于字数限制,我只能把程序给删了。大神如果需要看下程序的话请弹QQ323213993,求大神指导 展开
3个回答
展开全部
我觉得这个用labview比较好吧,我做过单片机经过串口和labview通信。
追问
但是老师是要求用IAR的
追答
把你的课程设计项目和要求说一下,IAR和430通信资料给我一些,希望能看一下再想办法。我的邮箱richthoffen@163.com。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
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.
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.
追问
哥哥看不懂呢
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询