主题:大侠们救命! Error using ==> rand
运行一个工具包,叫SIMDEUM的时候,出现错误
??? Error using ==> rand
Unknown command option.
Error in ==> sim_water_use>pre_sim_settings at 136
rand('twister', sum(100*clock));
Error in ==> sim_water_use at 100
pre_sim_settings; % some pre simulation settings
Error in ==> Untitled at 19
sim_water_use(numHouses, numPats, house_type_file_full, dir_name)
出现错误的命令行是:
sim_water_use(numHouses, numPats, house_type_file_full, dir_name)
disp(sprintf('simulation of %s, %g houses, %g pats, took %s', ...
house_type_file, numHouses, numPats, datestr(now - theStart, 13)));
前边赋值的命令行没有错误的,就是这个RAND命令错误,但是此行里没有RAND命令呀,是什么原因?
另外,在别的机器上运行正常,就是我的机器上不行,是不是系统的问题,系统为番茄花园.
??? Error using ==> rand
Unknown command option.
Error in ==> sim_water_use>pre_sim_settings at 136
rand('twister', sum(100*clock));
Error in ==> sim_water_use at 100
pre_sim_settings; % some pre simulation settings
Error in ==> Untitled at 19
sim_water_use(numHouses, numPats, house_type_file_full, dir_name)
出现错误的命令行是:
sim_water_use(numHouses, numPats, house_type_file_full, dir_name)
disp(sprintf('simulation of %s, %g houses, %g pats, took %s', ...
house_type_file, numHouses, numPats, datestr(now - theStart, 13)));
前边赋值的命令行没有错误的,就是这个RAND命令错误,但是此行里没有RAND命令呀,是什么原因?
另外,在别的机器上运行正常,就是我的机器上不行,是不是系统的问题,系统为番茄花园.