MATLAB Coder Support for C11 and Textscan()
2 次查看(过去 30 天)
显示 更早的评论
Hi all, Does MATLAB Coder support C11 as a target language? My guess is not, but I wonder if this is planned for a future release? In terms of text processing, does MATLAB Coder support the MATLAB function Textscan()? Again, my guess from quickly browsing the release notes is not? Thanks everyone...
0 个评论
采纳的回答
Ryan Livingston
2013-6-4
Hi Paul C11 and TEXTSCAN are both currently unsupported with MATLAB Coder. Using coder.ceval() it is possible to read from a file via C routines:
Another technique is to write your own C function which calls into FSCANF as desired and just call that method with coder.ceval().
Out of curiosity, what features of C11 would you find useful in the generated code?
0 个评论
更多回答(1 个)
Paul Metcalf
2013-6-5
1 个评论
Ryan Livingston
2013-6-6
Unfortunately, we can't comment on the plans for supporting TEXTSCAN or C11 but your requests for those have been noted.
Currently PARFOR is supported by MATLAB Coder in generated MEX functions. OpenMP provides the parallel constructs for MATLAB Coder to do so:
Thanks for the suggestions Paul!
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!