Borrar filtros
Borrar filtros

Simulink RTW Target (standalone executable) interface options

1 visualización (últimos 30 días)
RobinZ
RobinZ el 11 de Abr. de 2016
Hello! Are there any options to easily access&control a standalone executable generated by Simulink RTW? My first and most favored approach is to use the Callbacks in "Model Properties". As StartFcn and StopFcn I would for example open a message window or save simulation results from Matlab-Workspace to my windows folder. Apparently these kind of model callbacks are not available in generated code.
Second approach could be to write specific custom c-code as "initialize function" and "terminate function" for the generated code. But I don´t see a straight way to access the workspace-data by means of this custom code. With just using the "MAT-file logging" option in "Code generation > Interface > Data exchange" I am missing a appropriate controllability when executing the standalone file.
Do you have any experience or suggestion concerning this issues?
Thanks a lot in advance! BR, Robin Zimmermann

Respuestas (0)

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by