-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Running CARLsim4 with Matlab 2017b, I get the following error when trying to run the OAT with the smooth output:
Expected one output from a curly brace or dot indexing expression, but there were 0 results.
Error in NetworkMonitor/setGroupPlotType (line 609)
obj.groupMonObj{gId}.setDefaultPlotType(plotType);
Error in demoSmooth (line 27)
NM.setGroupPlotType(-1, 'heatmap')
I think that it could be fixed by updating demoSmooth.m with the following patch:
*** doc/source/tutorial/4_image_processing/scripts/demoSmooth.m.orig 2018-10-18 11:23:24.753124357 -0700
--- doc/source/tutorial/4_image_processing/scripts/demoSmooth.m 2018-10-18 11:23:28.205065731 -0700
*************** createStimFromImage('../input/carl.jpg',
*** 24,29 ****
% Plot network activity
clear NM
NM = NetworkMonitor('../results/sim_smooth.dat')
! NM.setGroupPlotType(-1, 'heatmap')
NM.plot
--- 24,29 ----
% Plot network activity
clear NM
NM = NetworkMonitor('../results/sim_smooth.dat')
! NM.setGroupPlotType(NM.groupNames{end}, 'heatmap')
NM.plot
However, I'm not sure if the root cause is the version of Matlab that I am using.
Metadata
Metadata
Assignees
Labels
No labels