struct2ws

버전 1.0.0.0 (1.66 KB) 작성자: Maximilien Chaumon
Throws selected fields of a scalar structure in the current workspace.
다운로드 수: 1.2K
업데이트 날짜: 2007/2/23

라이선스 보기

% struct2ws(s,varargin)
%
% Description : This function returns fields of scalar structure s in the
% current workspace
% __________________________________
% Inputs :
% s (scalar structure array) : a structure that you want to throw in
% your current workspace.
% re (string optional) : a regular expression. Only fields
% matching re will be returned
% Outputs :
% No output : variables are thrown directly in the caller workspace.
%
% Examples :
%
% Example 1:
% >> who
%
% Your variables are:
%
% params
%
% >>struct2ws(params)
% >> who
%
% Your variables are:
%
% blanc grille ratio_ecran unitX
% c_map gris rect unitY
% centre magni_jitt taille window
% dim_grille noir taille_cr zoomzoom
% epais_cr params taille_items
%
% Example 2:
% >> struct2ws(params,'unit')
% >> who
%
% Your variables are:
%
% params unitX unitY
%
%
% _____________________________________
% See also : ws2struct ; regexp
%
% Maximilien Chaumon v1.0 02/2007

인용 양식

Maximilien Chaumon (2024). struct2ws (https://www.mathworks.com/matlabcentral/fileexchange/14068-struct2ws), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0