Within Simulink "Model Explorer", a view of a stateflow chart I/O's and local variable properties cannot be edited in the table. I can only edit properties in the dialog pane

55 Ansichten (letzte 30 Tage)
In Simulink R2017b I was able to modify variables directly in the main view of the model Explorer. I could for example select several rows at once and the for example modify the "data type" column for one of them, and all of the selected rows got the data type modification.
Now in R2022 I can only modify the "name" column in the table by doubble clicking on it. To edit any of the other properties (such as data type), I have to edit it in the "dialog pane". Nothing happens when I doubble click on for example the data type column for a row. In R2017b a dropdown box would open and I could select the data type directly from the table.
I asked my coworker with the exact same version of Simulink, and he did not have this problem. I have tried to unistall mMatlab entierly , reebooting my PC and installing matlab again, but the same issue persists. Is there a setting the will allow me to do these propery changes directly in the model explorer table?
In the attached picteure, nothing happens when I doubble click on where it says "Inherit: Same as Simulink" (for the data type)

Antworten (1)

Vignesh
Vignesh am 12 Sep. 2025 um 20:08
This could be due to preferences from a older release interacting with latest install. To verify this is the case, please create a back up of your preferences directory by renaming the directory. This will automatically create a new preferences directory on MATLAB startup.
You can locate the preferences directory by executing
>> prefdir
If you have preferences from older releases, this can interact with preferences from newer MATLAB installs. If renaming the preferences for current install doesn't fix the issue, you can try renaming/removing the preferences of older installs and retrying the above steps to rename the preferences from R2022a/b
  1 Kommentar
David
David am 15 Sep. 2025 um 6:56
Hi and thank you for your reply. I followed your instructions. I verified that the result from command ">> prefdir" for both R2017b and R2022b was in %userdata%\AppData\Roaming\MathWorks\MATLAB\
I colsed all instances of Matlab and renamed both Matlab version's foldarnames (in above mentioned path) from "R2017b" to "R2017b_old" and "R2022b" to "R2022b_old".
I then opened Matlab R2022b, and as you mentioned, a new "R2022b" folder is created within the above mentioned path. But when I open Simulink, I still have the same issue as described in the original post.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by