Simulink/Matlab throws a warning about log of a negative number durig simulation. The signal inspector shows the number is always positive.
조회 수: 4 (최근 30일)
이전 댓글 표시
Simulink/Matlab throws the following warning while I try to linearize my model around an opperating point:
Warning: Log of a negative number in 'Model/Subsystem/Oxygenator/pHvirtual/Log'. Consider setting the 'Output
signal type' to complex.
The signal inspector shows the following values for the highlighted block:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/629585/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/629590/image.png)
The warning is thrown after I call the linearize function.
sys=linearize('Model',op1(2),io)
Running the model with simulink does not cause the warning.
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!