Skip to content

Edit a model's configuration sets in the model editor - #212

Merged
ww-mw merged 4 commits into
mainfrom
model/config-set-edits
Nov 4, 2026
Merged

ww-mw merged 4 commits into
mainfrom
model/config-set-edits

Conversation

@ww-mw

@ww-mw ww-mw commented Nov 4, 2026

Copy link
Copy Markdown
Member

A Simulink model's (.slx) configuration sets are now edited in the model editor as a dictionary's are: added from the + Add gallery's Configurations tiles (Config Set, Config Reference), renamed, given a Description, and deleted. Each is one edit on VS Code's stack, and the save writes only what changed. The active set is not deleted: core says why. Cut is not offered on a set.

Verified against MATLAB in core: every edit's save opens in MATLAB as MATLAB's own save of the same edit (R2027a 45/45, R2023b 23/23).

ww-mw added 4 commits November 4, 2026 10:17
The MAT-file editor's setRows is to carry a model's addSections, the
sections beside its workspace's classes whose tiles the gallery offers
(its configuration sets), and a MAT-file's none. And in the model
editor, a set added from the gallery's Configurations tile, renamed and
another deleted is one edit each on VS Code's stack, undone and redone
with it, and saved.
matRows passes the engine's addSections on, where a model has some, so
the gallery offers the Configurations tiles beside the Model
Workspace's classes. The rest of the editing is view's and core's.
A model's configuration sets are added, renamed, described and deleted
there.
Its model table offers the gallery's Configurations tiles, and a
configuration set's rename, Description and Delete.
@ww-mw
ww-mw merged commit 7a5fc42 into main Nov 4, 2026
6 of 7 checks passed
@ww-mw
ww-mw deleted the model/config-set-edits branch November 4, 2026 16:53
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.

1 participant