renaming mat file results in error
이전 댓글 표시
When I rename
load netBekenmacrofauna.mat netBekenmacrofauna;
UitvoerVissen=sim(netBekenmacrofauna,BekenStuur);
into
load netBekenvissen.mat netBekenvissen;
UitvoerVissen=sim(netBekenvissen,BekenStuur);
running the script results in error message in command window:
??? Undefined function or variable 'netBekenvissen'.
Error in ==> BekenneuralSIM at 120
UitvoerVissen=sim(netBekenvissen,BekenStuur);
Is there a workaround for this?
Ton Schomaker
답변 (1개)
Jan
2012년 1월 9일
I guess, that the file netBekenvissen.mat does not contain a variable called netBekenvissen. You can test this by:
Data = load('netBekenvissen.mat');
disp(Data)
% UitvoerVissen=sim(Data.netBekenvissen, BekenStuur);
카테고리
도움말 센터 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!