Filter löschen
Filter löschen

How can I execute some code when an exception such as a CPU Overload occurs in xPC Target?

3 Ansichten (letzte 30 Tage)
I have a model that successfully downloads and runs on xPC Target. However, occasionally a CPU Overload may occur. I have sensitive equipment hooked up to the target and would like some way to handle these exceptions.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
This feature is not available in xPC Target 3.1 (R2006b).
To work around this issue, you can generate a signal such as a repeating pulse. When an exception occurs, this signal will stop. This action will trigger external hardware to properly handle the situation.
To find out more about what causes CPU Overload exception, please visit the following webpage:
<http://www.mathworks.com/support/solutions/data/1-19PSS.html?solution=1-19PSS>

Weitere Antworten (0)

Kategorien

Mehr zu Multicore Processor Targets finden Sie in Help Center und File Exchange

Produkte


Version

R2006b

Community Treasure Hunt

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

Start Hunting!

Translated by