Filter löschen
Filter löschen

different questions about RTW, S-function and tlc file

1 Ansicht (letzte 30 Tage)
ander
ander am 19 Nov. 2015
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

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by