Simulink stuck on initializing when browsing system target files

조회 수: 9 (최근 30일)
Hugo Pontes
Hugo Pontes 2021년 1월 6일
댓글: Rasmus Visgaard 2021년 3월 26일
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
Hugo Pontes
Hugo Pontes 2021년 3월 25일
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!
Rasmus Visgaard
Rasmus Visgaard 2021년 3월 26일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Arun Ghadge
Arun Ghadge 2021년 3월 25일
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
Hugo Pontes
Hugo Pontes 2021년 3월 25일
This is what I end up doing then I forgot to answer myself here. Nevertheless I'm accepting your answer! Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by