Function 'tic' is not supported for code generation
Afficher commentaires plus anciens
Hi all,
please i need to know how to calculate the elapsed time between 2 part of my matlab script because tic and toc are not supported for code generation
thanks
Réponses (2)
Sebastian Castro
le 13 Mar 2015
0 votes
You can use coder.ceval to call an external function. To implement your own timing, you could include time.h and use the functionality there.
- Sebastian
2 commentaires
chfakht chfakht
le 13 Mar 2015
Sebastian Castro
le 13 Mar 2015
I found something similar on Answers, in which the answer calls printf commands from stdio.h:
Ander Erroicenea
le 21 Mar 2019
0 votes
The same error appears to me, how did you resolve it?
- Ander.
Catégories
En savoir plus sur Texas Instruments C2000 Processors dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!