Why is “Navigate to C/C++” greyed out?
I am trying to use the Code Perspective to analyse where certain variables within my Simulink block diagram are located in the resulting C code. I can succesfully click on code line numbers in the C code panel and Simulink navigates to the corresponding Simulink blocks.
Unfortunately, the reverse does not seem to be possible. When I right-click on a block and go to C/C++ Code > Navigate to C/C++, this option is greyed out.
Does anyone know why this happens and how I can enable it?I am trying to use the Code Perspective to analyse where certain variables within my Simulink block diagram are located in the resulting C code. I can succesfully click on code line numbers in the C code panel and Simulink navigates to the corresponding Simulink blocks.
Unfortunately, the reverse does not seem to be possible. When I right-click on a block and go to C/C++ Code > Navigate to C/C++, this option is greyed out.
Does anyone know why this happens and how I can enable it? I am trying to use the Code Perspective to analyse where certain variables within my Simulink block diagram are located in the resulting C code. I can succesfully click on code line numbers in the C code panel and Simulink navigates to the corresponding Simulink blocks.
Unfortunately, the reverse does not seem to be possible. When I right-click on a block and go to C/C++ Code > Navigate to C/C++, this option is greyed out.
Does anyone know why this happens and how I can enable it? code generation, embedded coder, simulink, c++ MATLAB Answers — New Questions