different questions about RTW, S-function and tlc file

1 次查看(过去 30 天)
Good afternoon, I am using matlab 2014b 64 bits in windows 7 64 bits. I have different question about real time workshop, s-Function and tlc file.
I have a simulink model with different S-Function blocks. To access to the model i use a GUI. With Matlab and Simulink everything work perfectly but the next step is to try getting a .exe file.
For the simulink model I want to generate a dll file, after that with the Gui I will generate an .exe file with the dll and the visual part. My questions are:
1- to generate the simulink dll it is obligatory to create an tlc file?
2- if it isn`t neccessary, how I should do? I try with non-lining option activate but when I use load library function it returns;
3- it it is neccesary to create a tlc file, is it posible to create it from my Sfunction file directly? how?
4- where can I study about how to create the tlc file?
5- if I have a cpp file with different functions like (mdlinitialisized, mdlOutputs, ...) is a good idea to use encode_legacy function?
in the future i think I will have more questions but these are ones I have.
Thank you for all

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by