Current Directory for Generated Code
3 ビュー (過去 30 日間)
古いコメントを表示
pwd Doesn't seem to be supported for code generation. How might one get the current directory when deploying code with code generator?
0 件のコメント
採用された回答
Walter Roberson
2022 年 6 月 22 日
編集済み: Walter Roberson
2023 年 10 月 3 日
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.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で DSP Algorithm Acceleration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!