SIL error (Unable to find function)
Show older comments
Hello all,
I am currently having trouble when I try to run the SIL simulation. As shown in the following capture, I simply created the SIL block (UKF_EKF_1TC_SIL) which is identical to the original block (UKF_EKF_1TC).



When I try to run "Run Verification" by setting "SIL/PIL > System Under Test: Model blocks in SIL/PIL mode," the simulation fails due to the following error message.

It seems like both the "EKF" and "UKF" blocks located in the "UKF_EKF_1TC_SIL" which refer to "batteryStateFcn" and "batteryMeasurementFcn" cannot call it due to an unknown reason whereas "UKF_EKF_1TC" works great by calling up both the "batteryStateFcn" and "batteryMeasurementFcn".
I would appreciate it if anyone could guide me in the correct direction. Thank you very much in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Test Model Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
