11-07-2018
11:40 AM
- last edited on
01-07-2025
12:16 PM
by
Content Cleaner
I am trying to compile a Simulink model to for use with the NI VeriStand. However, I get the following error message: "Variable output array "varargout" must be a cell array", and I can't understand why.
In my model I only use simple Simulink blocks in the standard library (such as Math Operations, Discrete Integrators etc), and I don't use any User-Defined Functions. I am trying to figure out where this "varargout" comes from, and how to troubleshoot this.
I am currently using Matlab R2016b, with the Microsoft Visual C++ 2017 compiler, and NI VeriStand 2015, with NI VeriStand 2015 Model Framework.
I followed the steps as described in this tutorial and got the following error message:
Solved! Go to Solution.
11-12-2018
07:28 AM
- last edited on
01-07-2025
12:16 PM
by
Content Cleaner
Hi, how are you?
I found this compatibility table witch says that the later version of Simulink supported by NI Veristand 2015 is Simulink R2015a. As you said you are current using MATLAB R2016b, you should be using at least NI Veristand 2017. Since you aren't using User-Defined Functions, I believe the uncompatibility is the source of the issue you reported.
NI VeriStand Version Compatibility
https://www.ni.com/en/support/documentation/compatibility/22/veristand-model-generation-support-and-...
Let me know if you have any doubts.
Best Regards,