coder.opaque + persistent statements at once
显示 更早的评论
Can I make in Matlab Codder a function variable that is both persistent (Static) and has specified type like int16?
persistent variable;
variable= coder.opaque('int');
Gives me coder error:
??? Class mismatch (coder.opaque ~= double).
The class to the left is the class of the left-hand side of the assignment.
Also I cannot define anything before declaring it persistent so swapping lines doesn't help :-)
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 ARM Cortex-M Processors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!