07-07-2025 06:55 AM
Hey,
I am trying to use the Call Library Function Node in LABVIEW and I am having some difficulties with understanding whether I configured it correctly. So I generated a C code from MATLAB for a regression model that I made in MATLAB. Since that regression model is an ensemble model(non-interpretable), I decided to use Call Library Function Node. Now when I used it and did tests on my setup, I noticed that the function outputs random values for each test that I made and therefore the results that I get are not valid. Do I need to initialize the model before running the tests, or is it that CLFN does not support ensemble models like LSBoost (MATLAB)? I checked the output values in MATLAB and they should be consistent, however in LABVIEW that is not the case.
07-07-2025 08:17 AM
And what is the C header prototype of that function?
07-07-2025 08:22 AM
Hey Rolf,
Thanks for a quick reply. This is the prototype function:
extern double predictEnsembleC(double Br1, double dB);