renaming mat file results in error
9 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Jan
on 9 Jan 2012
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);
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!