'C Caller block is not recognizing the c program

Eventhough i have specified the header and c file in the c caller block the simulink gives an erreoe as follows:
''C Caller block 'clib/C Caller' has not specified a function to call, or the specified function 'input' does not exist. ''
But error still remains.
Can somebody help me?

Respuestas (1)

Pravarthana P
Pravarthana P el 17 de Feb. de 2022

0 votos

Hi Besme James, from your query it can be taken that you are trying to use C caller block to call your pre-defined C program. From the statements I assume you have added the header files, source codes in the Configuration parameters -> Simulation target. Ensure that you have enabled both:
To use the input variables from the custom code inside Simulink.
The following documentation may be helpful:

2 comentarios

Besme James
Besme James el 21 de Feb. de 2022
Thankyou :) I checked with all those parameters but the error stays.
Lucian
Lucian el 3 de Mayo de 2023
It might be a stupid idea but you could get a similar behavior when you have no valid mex compiler installed
Check in Matlab that you have MinGW addon or something similar

Iniciar sesión para comentar.

Productos

Versión

R2018b

Etiquetas

Preguntada:

el 2 de Feb. de 2022

Comentada:

el 3 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by