|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
本帖最后由 eecsseudl 于 2013-4-29 09:56 编辑
求助为什么这个matlab程序不能运行
balance = 1000;
rate = 0.09;
interest = rate * balance;
balance = balance + interest;
disp ( 'New balance:');
disp (balance);
***********************************************************
Error: File: balance.m Line: 1 Column: 1
The variable "balance" is also the name of this script.
This is illegal, because it will be the name of a script and a variable
in any context from which the script is called.
|
|