Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Do i need to include *.c files for the functions called inside S function ?

1 visualización (últimos 30 días)
Avinash
Avinash el 1 de Ag. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I am creating a S-function from C-code and working directory contains all C files and H files required for execution.
I am calling a function named as "XYZ" inside "static void mdlOutputs(SimStruct *S, int_T tid)" of S function.Then i have to include "XYZ.c" which contains the definition of function "XYZ" and is executing without errors in visual studio.
If XYZ contains any other function suppose A() then again i need to include "A.c" which contains the definition of function "A".
Do i need to include *.c files for the functions called inside S function ?
  1 comentario
Kaustubha Govind
Kaustubha Govind el 1 de Ag. de 2013
I'm not sure I understand your question. It looks like you already know that you need to include source/header files for all functions called directly or indirectly from your S-function - can you elaborate a little more?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by