خرید بک لینک

Vote count: 0

I have a Matlab function block in Simulink that receives 2 inputs and processes it to generate an output. During the course of the simulation, at some time points, one of the inputs is zero. I'd like to use the most recent non-zero input to the function whenever that particular input value is zero. How can I achieve this? I tried creating a persisent variable that updates to most recent non-zero input value but that doesn't seem to work.

asked 10 secs ago

برچسب: matlab function in script,matlab function input,matlab function input string,matlab function inside script,matlab function in function,matlab function input argument,matlab function in simulink,matlab function in same file,matlab function input array,matlab function inline, نویسنده: استخدام کار تاريخ: چهارشنبه 3 شهريور 1395 ساعت: 2:33

صفحه بندی