writeJSON

버전 1.0.0 (1.38 KB) 작성자: Joshua Bauske
Save a MATLAB variable to a JSON file.
다운로드 수: 3
업데이트 2025/10/2

라이선스 보기

A simple utility function to export any MATLAB variable to a JSON file.
Usage
% Example data
data.name = "Alice";
data.scores = [95, 87, 76];
% Write compact JSON
writejson(data, "data.json", false);
% Write pretty-printed JSON (MATLAB R2021a or newer)
writejson(data, "prettyData.json", true); % equal to writejson(data, "prettyData.json")
Will result in
{
"name": "Alice",
"scores": [
95,
87,
76
]
}

인용 양식

Joshua Bauske (2026). writeJSON (https://kr.mathworks.com/matlabcentral/fileexchange/182190-writejson), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2025b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가
버전 게시됨 릴리스 정보
1.0.0