writeParamFile

Version 1.0.0 (3,45 ko) par Hildo
Write a parameter file compatible with C/C++ and Python language. The file is populated with the values the mentioned variables of the base
11 téléchargements
Mise à jour 19 avr. 2020

writeParamFile Matlab function that writes a parameter file compatible with C/C++ and Python language. The file is populated with the values the mentioned variables of the base workspace. My personal use of this function is export configuration to DSP C/C++ softwares and PSIM simulations (.txt extesion).

writeParamFile fileName 'Description group one' var1 var2 var3 ... 'Description group two' ...
writeParamFile fileName 'Description group three' matrix1 ...
writeParamFile % At the end to close the opened file.

The open file command should be used just one, a sequential script e.g.:

writeParamFile fileName
writeParamFile var1 '\\ Description of this variable.'
writeParamFile 'Description group one' var1 var2 var3

The decriptions are add as a general header group. To add a comment by line usethe bellow examples. The first input (file name) may or may not be used.

writeParamFile '\\ Description.'
writeParamFile var1 '\\ Description of this variable.'
...

Citation pour cette source

Guillardi Jr., Hildo (2020). writeParamFile (https://www.github.com/hildogjr/writeParamFile), GitHub. Retrieved April 17, 2020.

Compatibilité avec les versions de MATLAB
Créé avec R2017a
Compatible avec les versions R2016a et ultérieures
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags

Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées

Version Publié le Notes de version
1.0.0

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.