Warning at Simulink starting

2 visualizzazioni (ultimi 30 giorni)
Jean Matthieu
Jean Matthieu il 20 Feb 2025
Risposto: Raj il 4 Mar 2025
Hi,
Following the installation of R2024a, warnings appear the first time I open a Simulink model:
Warning: Invalid Icon ID for action: up
Warning: Invalid Icon ID for action: forward
Warning: Invalid Icon ID for action: back
Warning: Invalid Icon ID for action: back
Warning: Invalid Icon ID for action: up
Warning: Invalid Icon ID for action: forward
Warning: Invalid Icon ID for action: keyboardShortcuts
Warning: Invalid Icon ID for action: keyboardShortcuts
Warning: Invalid Icon ID for action: forward
In isSimscapeLicensed
In simulink.toolstrip.internal.loadConfig
In simulink.toolstrip.internal.refreshConfig
Warning: Invalid Icon ID for action: back
In isSimscapeLicensed
In simulink.toolstrip.internal.loadConfig
In simulink.toolstrip.internal.refreshConfig
Warning: Invalid Icon ID for action: up
In isSimscapeLicensed
In simulink.toolstrip.internal.loadConfig
and so on...
Until I write "dbquit", the command window is in dubbuging mode, and only a "dbquit" command solve the issue.
How can I get rid of these warnings?
Regards

Risposte (1)

Raj
Raj il 4 Mar 2025
The warning you are experiencing may be the result of corrupt preferences files.
As a first step, try to do a fresh installation MATLAB R2024a and see if this fixes the issue.The following documentation explains the same in detail-
If reinstalling doesn't solve the issue. try the following troubleshooting steps, in which you regenerate the MATLAB preferences files:
  • Execute the following in MATLAB Command Window to change the current working directory to the "Preferences Directory":
>> cd(prefdir)
  • Make a copy/backup of the folders and files in that directory to a new directory with the name, for example, "R2024a_old".
  • Delete all the folders and files inside the directory returned when executing the command in step 1. Ensure that the "Preferences Directory" is now completely empty.
  • Restart MATLAB. MATLAB will recreate preferences files in the now empty "Preferences Directory".
If this does not address the issue and prevents the warning from appearing, it is possible to restore your preferences by deleting the newly created folders and files in the "Preferences Directory" and restoring the backed-up folders and files from the "R2024a_old" folder.
I hope this helps resolving the issue you are facing.

Categorie

Scopri di più su Simulink Environment Customization in Help Center e File Exchange

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by