From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VeriStand CRASH When Adding Simulink Model(mdl)

Hi

 

When adding a Simulink model(R2014b)  in VeriStand (2014), VeriStand crashes :

 

I have successfully added other models , so what's the problem with this, please.

 

I attach the Crash screen dumps and the diagnostic files

 

Many thanks

 

 

Mal

 

0 Kudos
Message 1 of 4
(3,969 Views)

There are some known issues with importing MDL files directly. In general NI recommends compiling your model into a DLL to run in VeriStand, even when doing simulation-only tests on Windows. We removed the feature to run uncompiled MDL models in VeriStand 2015.

 

Here are some known issues you might check for in your MDL that might cause VeriStand to crash.

- Block names that start with a number

- Port-widths set to zero

- Accelerator mode turned on

 

 

Jarrod S.
National Instruments
0 Kudos
Message 2 of 4
(3,966 Views)

Elaborating on Jarrod's response, please read the following knowledge base articles to assist you in configuring the system to compile models.

 

Compiling a Model from The MathWorks, Inc. Simulink® Software

Setting up The Mathworks, Inc. MATLAB® Software to Create a NI VeriStand or Model Interface Toolkit ...

Nestor
0 Kudos
Message 3 of 4
(3,963 Views)

Thanks for the sound advice , DLL approach is the only way !

0 Kudos
Message 4 of 4
(3,932 Views)