MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]matlab editor中的程序不能运行 (https://www.labfans.com/bbs/showthread.php?t=4516)

hoho 2008-09-19 12:34

[求助]matlab editor中的程序不能运行
 
[SIZE="5"][FONT="幼圆"]今天用matla editor写程序,就只有x=1:20,然后点F5,但是在命令窗口里只显示ans=1,为什么?哪位高手可以指点一下?[/FONT][/SIZE]

lingyun422 2008-09-19 14:41

回复: [求助]matlab editor中的程序不能运行
 
需打开matlab主程序

hoho 2008-09-19 14:47

回复: [求助]matlab editor中的程序不能运行
 
我打开主程序了,不然哪来的ans=1?就是在command window中显示的...

hoho 2008-09-19 15:20

回复: [求助]matlab editor中的程序不能运行
 
问题解决,M文件不能以数字开头~:smile:


所有时间均为北京时间。现在的时间是 11:09

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.