diff --git a/Documentation/scripts/jsonfiles/Example/testExample.m b/Documentation/scripts/jsonfiles/Example/testExample.m new file mode 100644 index 00000000..8d51f982 --- /dev/null +++ b/Documentation/scripts/jsonfiles/Example/testExample.m @@ -0,0 +1,15 @@ +jsonstruct = parseBattmoJson('simulation.json'); + +output = runBatteryJson(jsonstruct); + +%% plotting + +t = output.time; +E = output.E; + +figure +plot(t/hour, E) +xlabel('Time / h') +xlabel('Voltage / V') + +