"Bad cast exception" when trying to open Simulink
Show older comments
I get this error when opening Simulink in Matlan 2022a, 2022b. Any idea how to fix this?

Answers (1)
Gowthami
on 19 Jan 2023
1 vote
Hi Asit,
The issue is caused by a corruption of the file 'edittimecheckcustomization.json' and deletion will help to resolve this issue, since the file gets recreated.
To resolve this issue, delete the mentioned 'edittimecheckcustomization.json' file or follow this workaround mentioned here: https://www.mathworks.com/matlabcentral/answers/99625-how-do-i-regenerate-my-matlab-preferences
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!