Current Directory for Generated Code
5 views (last 30 days)
Walter Roberson on 22 Jun 2022
Edited: Walter Roberson on 3 Oct 2023
MATLAB Coder is designed to target embedded systems, so functionality that is not part of the C Standard Library is often not available. DSP and so on often have no file system.
If you are targeting MacOS or Linux then coder.ceval to the appropriate system call. Windows uses a different system call.