Skip to content

fix simtime not advancing in MATLAB write function#353

Merged
pradeeban merged 1 commit intoControlCore-Project:devfrom
Sahil-u07:fix/matlab-simtime-update
Feb 18, 2026
Merged

fix simtime not advancing in MATLAB write function#353
pradeeban merged 1 commit intoControlCore-Project:devfrom
Sahil-u07:fix/matlab-simtime-update

Conversation

@Sahil-u07
Copy link
Copy Markdown
Contributor

The MATLAB write function was including [simtime+delta] in the output but never updating the global [concore.simtime] variable, leaving simulations frozen at the initial time step. This adds the missing update after successful writes, matching the Python and recently-fixed C++ implementations.

Copilot AI review requested due to automatic review settings February 16, 2026 01:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes MATLAB simulation time progression by updating the global concore.simtime after a successful write, aligning MATLAB behavior with the Python (and C++) implementations so time advances across steps.

Changes:

  • Update concore.simtime by delta after a successful concore_write file write.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pradeeban pradeeban merged commit ab0f67c into ControlCore-Project:dev Feb 18, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants