How do I include the experimental/filesystem C++ header in Simulink Real-Time custom code?
Show older comments
When compiling custom C++ code for use in Simulink Real-Time R2022a, I receive a compiler error:
fatal error: experimental/filesystem: No such file or directory
on the include statement for the "experimental/filesystem" header. The "Language Standard" option in the configuration parameters is set to "C++11", which should have this library as part of its standard library.
Why can't I include "experimental/filesystem", and how can I use its functionality in my C++ code?
Accepted Answer
More Answers (0)
Categories
Find more on Embedded Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!