Simulink stuck on initializing when browsing system target files

Hello I'm running matlab2018b and I'm trying to set up a model for autocoding via Simulink coder.
When I try to configure the model, under Settings > Code Generation > Target Selection > System Target File, when I click browse Simulink gets stuck on a pop up window that says "Initializing...". I need to change the stf file but I can't due to this. Does anyone know what causes this or how to fix it? There doesn't seem to be any information online. Thanks

3 Comments

Did you find a solution to this? I've been configuring custom toolchains and suddenly I run into this problem.
I forgot to answer sorry but yes I did, just simply type the name of the system target file and confirm your new settings, it should update the name of the STF and work properly!
I found a solution myself for other people trying to resolve the problem. Somehow I had managed to include the entire Microsoft Visual Studio folder in the Matlab path, and removing it from the path solved the problem.

Sign in to comment.

 Accepted Answer

Hi Hugo,
The easy way is to type in the field example - autosar.tlc and apply settings.
Make sure the respective TLC is avaibale.
Regards,
Arun

1 Comment

This is what I end up doing then I forgot to answer myself here. Nevertheless I'm accepting your answer! Thanks!

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2018b

Community Treasure Hunt

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

Start Hunting!