Use this helper function if you want to call a function multiple times but each time with different values of named parameter.
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
Generate multiple named parameter combinations from a single struct that contains arrays.
Example:
my_struct.LineWidth = 0.5:0.5:2;
out = unfold_named_parameter_struct(my_struct);
xy = rand(10,4);
axis = axes;
hold(axis, "on");
plot(axis, xy(:,1), xy(:,2), out{1}{:}) % 'Color','red','LineWidth',0.5
plot(axis, xy(:,3), xy(:,4), out{8}{:}) % 'Color','green','LineWidth',2
hold(axis, "off");
인용 양식
Bernard Beitz (2026). Unfold Named Parameter Struct (https://github.com/bernb/unfold-named-narameter-struct/releases/tag/1.0.1), GitHub. 검색 날짜: .
일반 정보
- 버전 1.0.1 (2.51 KB)
-
GitHub에서 라이선스 보기
MATLAB 릴리스 호환 정보
- R2019b 이상 릴리스와 호환
플랫폼 호환성
- Windows
- macOS
- Linux
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.1 | See release notes for this release on GitHub: https://github.com/bernb/unfold-named-narameter-struct/releases/tag/1.0.1 |
||
| 1.0.0 |
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
