writeParamFile

버전 1.0.0 (3.45 KB) 작성자: 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
업데이트 날짜: 2020/4/19

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.'
...

인용 양식

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

MATLAB 릴리스 호환 정보
개발 환경: R2017a
R2016a 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.