Simulink Block not used.

조회 수: 11 (최근 30일)
Maria Stroe
Maria Stroe 2019년 4월 3일
답변: Andreas Viborg 2024년 6월 28일
Hello,
I am trying to make a Simulink Model, most of the blocks work properly, but some are "not used" as it says on the yellow labels. I want to know what it means that the block is "not used". As I already searched it says that "Simulink cannot obtain the signal value due to optimization." but i dont really understand how to solve the problem. The blocks already exist in the Simulink Library Browser.
Thank you
  댓글 수: 1
Joanne Al-Adham
Joanne Al-Adham 2021년 11월 29일
Hi, did you figure out an answer to this?

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

답변 (3개)

Andreas Viborg
Andreas Viborg 2024년 6월 28일
The proper way to solve this is to go set Model Settings->Simulation Target(Advanced parameters)->Block reduction to off.

Hayder Gallas
Hayder Gallas 2019년 8월 16일
편집: Hayder Gallas 2019년 8월 16일
im facing the same problem, have you found a solution please !

Eugene Ofori
Eugene Ofori 2023년 8월 16일
I had the same problem and turns out the message is correct. I fixed this in the past by forcing matlab to think you require the signal and stop it from ignoring it due to optimisation. Connecting the signal or another signal downstream that uses your signal of concern to a display or scope has worked in the past. For my case it actually alerted me that I had forgot to assign my signal to my output bus.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by