VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulink Model compilation attempt results in an EXE file instead of a DLL

Solved!
Go to solution

Hi all,

 I haven't tried the PATH suggestion yet - unfortunately it's not so easy to edit PATH on a company computer in our case...

 

 Anyway, thank you for any suggestions!

Piotr F.
Hardware Engineer @ ZF
0 Kudos
Message 11 of 16
(1,827 Views)

Hi all,

 Ah... Finally. After being reassigned to other tasks I made it back to Veristand and finally tested leaving Windows MinGW in the PATH (actually setting a MinGW path on the front of the system PATH) and... it worked. The compiler generated a DLL. I don't have a PXI at home to verify if it works on PharLap, but it's still a step forward. Thank you!

Piotr F.
Hardware Engineer @ ZF
0 Kudos
Message 12 of 16
(1,748 Views)
Matlab 2020a +veristand2020 1、查看官方Veristand版本对应表 https://www.ni.com/zh-cn/support/documentation/compatibility/17/veristand-version-compatibility.html 2、先安装Matlab,再安装Veristand 3、Matlab安装mingw.mlpkginstall - 》有mingGW 64,先可以产生c文件 4、安装MinGW-V5.1.6.rar,并且修改环境变量,把C:\MinGW\bin加在Path最前面 5、Simulink中选择Veristand.tlc,编译器选Veristand Compiler系列即可生成dll。
0 Kudos
Message 13 of 16
(1,684 Views)

你好,我也是按这个步骤安装配置的,但是编译后只生成了.exe没有.dll文件,想请教一下,具体的方法,是不是这个只支持64位系统.是否可以留个联系方式,想向您请教一下。[contact removed] 这是我的邮箱

0 Kudos
Message 14 of 16
(1,430 Views)

是的,只支持64位 win10,而且必须是在这个列表里对应的版本

https://www.ni.com/zh-cn/support/documentation/compatibility/17/veristand-version-compatibility.html

通过Matlab安装mingw.mlpkginstall之后还不够

还要再去mingw的官网

http://mingw-w64.org/doku.php

下一个MinGW-V5.1.6.rar,解压到C盘根目录,然后添加Path

重启之后,再simulink里面用code app才会生成exe之后,通过编译器生成dll

0 Kudos
Message 15 of 16
(1,409 Views)

Hello. Now I have a same issue with you.

I'm using MATALB 2018A, Veristand 2019 R3.

Could you tell me little bit more detail about you setting?

0 Kudos
Message 16 of 16
(1,181 Views)