Skip to content

Commit ab0f67c

Browse files
authored
Merge pull request #353 from Sahil-u07/fix/matlab-simtime-update
fix simtime not advancing in MATLAB write function
2 parents 315d3f4 + 3c54acb commit ab0f67c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

concore_write.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ function concore_write(port, name, val, delta)
55
outstr = cat(2,"[",num2str(concore.simtime+delta),num2str(val,",%e"),"]");
66
fprintf(output1,'%s',outstr);
77
fclose(output1);
8+
concore.simtime = concore.simtime + delta;
89
catch exc
910
disp(['skipping ' concore.outpath num2str(port) '/' name]);
1011
end

0 commit comments

Comments
 (0)