Skip to content

Commit 3c54acb

Browse files
committed
fix simtime not advancing in MATLAB write function
1 parent 3b6756b commit 3c54acb

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)