Function 'tic' is not supported for code generation
显示 更早的评论
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
回答(2 个)
Sebastian Castro
2015-3-13
0 个投票
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 个评论
chfakht chfakht
2015-3-13
Sebastian Castro
2015-3-13
I found something similar on Answers, in which the answer calls printf commands from stdio.h:
Ander Erroicenea
2019-3-21
0 个投票
The same error appears to me, how did you resolve it?
- Ander.
类别
在 帮助中心 和 File Exchange 中查找有关 Texas Instruments C2000 Processors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!