simulink diagram 선색 정상화 방법

7 visualizaciones (últimos 30 días)
영진
영진 el 22 de Nov. de 2024
Respondida: prabhat kumar sharma el 10 de Dic. de 2024
아래와 같이 에러가 없는데도 블록간의 라인 색이 빨간 색으로 뜨는데 정상화 어떻게 해야 하나요?
Update Model 했는데도 정상화 되지 않습니다.
  1 comentario
Angelo Yeo
Angelo Yeo el 24 de Nov. de 2024
신호가 bus 신호인 것 같아 보이긴 합니다. 색깔 등으로 샘플 타임등을 구별하는 경우가 있습니다. Debug 탭의 Information Overlays 체크 여부를 확인해보시기 바랍니다.
다른 컴퓨터에서도 동일한 현상이 일어나는지 확인해보시고, 문제가 지속되는 경우 모델을 공유해주시면 더 자세하게 확인해볼 수 있을 것 같습니다.

Iniciar sesión para comentar.

Respuestas (1)

prabhat kumar sharma
prabhat kumar sharma el 10 de Dic. de 2024
Hi,
I understand that the lines connecting the blocks in your Simulink model are appearing red, even though there are no errors. In Simulink the line color between blocks can indicate various things, such as signal types, sample times, or errors. If the lines are appearing red but there are no errors, here are some steps you can take to normalize or reset the line colors:
So you can follow below steps to normalize the line colors:
  1. Check Sample Time Colors: As you mentioned, the line color might be indicating sample times. To verify this, go to the Debug tab and ensure that the Sample Time Colors option is checked. If the lines are red due to sample time, this option will help you identify and confirm it.
  2. Reset Sample Time Colors: To reset the sample time colors, you can click on Debug > Sample Time Colors > Off and then turn it back on to refresh the display.
  3. Bus Signal Indicators: If the signal is a bus, the red color might indicate a bus signal. To confirm, check the Signal Dimensions or Signal Attributes overlays in the Debug tab. Ensure that these overlays are turned on to display additional information about the signals.
Use the Update Diagram feature by pressing Ctrl+D or selecting Simulation > Update Diagram. This will refresh the model and might resolve any display issues.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!