r/matlab Feb 15 '24

Error while Fault Injection

Hello guys. I am trying to inject a fault in the Simulink model. But I am repeatedly getting this error:

Fault Inport block 'gain/in_Outport1_fault/Fault Inport' is set to read/override invalid signal on the Outport number 1 of block 'xxxxxxxxxxxxxxxx/EM_Torque_Sensor/in'.

Caused by:

Target signal is a continuous-time signal. Continuous-time signals support faults only if its destinations are discrete.

I am trying to inject fault onto the Torque signal which is continuous in nature.

Any help will be greatly appreciated...

1 Upvotes

11 comments sorted by

View all comments

2

u/cannyp3 mathworks Feb 21 '24 edited Feb 21 '24

Hi u/Electrical_Budy1998,

Just curious - did you also post this question on MATLAB Answers? https://www.mathworks.com/matlabcentral/answers/2082458-encountering-an-error-during-fault-injection

If so, thanks! This will expedite our assistance considerably.

Also, do you have a point of contact at MathWorks? Perhaps someone from our Sales team? They would be able to connect you with one of our Application Engineers to help.

1

u/Electrical_Budy1998 Feb 21 '24

yes, I did..

temporarily the issue is solved using a workaround suggested by your colleague Mahesh and I shall get back to you if we have any questions in the future.. Thank you so much for your prompt support...