Why do I receive an error "Variable output array "varargout" must be a cell array" when compiling a Simulink model for use in NI VeriStand?

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 compiling steps as described here: Creating Simulation Models Using The MathWorks, Inc. Simulink® Software for Use in NI VeriStand, and I got the following error message:

2 Comments

Did you ever get an aswer to this? Just having the same problem.
Aha. Found elsewhere - likely to be a version compatibility issue.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Release

R2016b

Asked:

on 7 Nov 2018

Commented:

on 4 Oct 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!