标题:请教如何使用matcom呢?老是出错
只看楼主
Scofield
Rank: 1
等 级:新手上路
威 望:1
帖 子:56
专家分:0
注 册:2006-5-30
 问题点数:0 回复次数:2 
请教如何使用matcom呢?老是出错

我打开mideva,new一个m文件,里面输入:

function wires

%
% (c) Copyright MathTools Ltd. 1997-1999
%
% Nice wires plot.
%
n=1000;
t=linspace(0,2*pi,n);
x=sin(t).*sin(2*t).*sin(3*t);
y=cos(5*t).*cos(7*t).*cos(11*t);
plot(x,y);

然后点击file里面的“编译dll",但是跳出一对话框,说是只能函数才能这样做。请教到底是怎么回事啊?
第一次用,请高手指教~万分感激!

搜索更多相关主题的帖子: matcom sin cos plot 对话框 
2006-12-09 14:45
hitzhang
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:21
帖 子:369
专家分:52
注 册:2006-9-24
得分:0 
function wires()

2006-12-09 16:06
Scofield
Rank: 1
等 级:新手上路
威 望:1
帖 子:56
专家分:0
注 册:2006-5-30
得分:0 

也不行啊,提示:
wire is a script. Only functions can be compiled for this target.

以前没有用过matcom,是不是有什么没有设置啊

谢谢!


2006-12-09 16:52



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-108367-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.588601 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved