This is matlab test question

1 回表示 (過去 30 日間)
멋진남자
멋진남자 2024 年 2 月 5 日
編集済み: 멋진남자 2024 年 8 月 22 日
This is matlab test question

回答 (1 件)

Sumit Ghosh
Sumit Ghosh 2024 年 2 月 7 日
I am not sure whether matgdns.c is what you need, but you can achieve this using coder.read and coder.write
In short, coder.write(fileName,data) stores the argument data in a file with the name fileName.coderdata in your current directory. You can use this function in your host machine to sae the paraleters in a file.
dataFromFile = coder.read(fileName) reads from the fileName.coderdata storage file and returns the data stored within the file. You can use this function in your MATLAB® code for which you want to generate C/C++ code. The generated code performs the data read at run time.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by