标题: matlab数学建模工具箱 运行怎么是错的??? [打印本页] 作者: 滴水 时间: 2010-8-13 21:41 标题: matlab数学建模工具箱 运行怎么是错的??? 今天安装个matlab数学建模工具箱,试着运行了一下。
输入:
clear;map=[1 2 30;2 4 5;2 5 50;3 2 6;4 3 1;1 4 20;1 5 3]
[p,v]=dijkstra(map,2,5)
运行结果:
map =
1 2 30
2 4 5
2 5 50
3 2 6
4 3 1
1 4 20
1 5 3
Warning: Function call dijkstra invokes inexact match C:\MATLAB7\toolbox\mathmodl\DIJKSTRA.M.
Warning: Wrong spelling of 'private' as a directory name in C:\MATLAB7\toolbox\mathmodl\PRIVATE\DIJK.DLL
> In DIJKSTRA at 36
Warning: Function call DIJK invokes inexact match C:\MATLAB7\toolbox\mathmodl\PRIVATE\DIJK.DLL.
> In DIJKSTRA at 36
Warning: Function call plot invokes builtin plot,
however, function C:\MATLAB7\toolbox\mathmodl\PLOT.M
that differs only in case precedes it on the path.
> In DIJKSTRA at 50
p =
2 1 4 5