This is matlab test question

3 vues (au cours des 30 derniers jours)
멋진남자
멋진남자 le 5 Fév 2024
Modifié(e) : 멋진남자 le 22 Août 2024
This is matlab test question

Réponses (1)

Sumit Ghosh
Sumit Ghosh le 7 Fév 2024
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.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by