bindValue

버전 1.0.1 (1.65 KB) 작성자: Hyeokjin Jho
This function allows data binding of values between property in source and view objects.
다운로드 수: 47
업데이트 날짜: 2021/4/26

라이선스 보기

This function allows data binding of values between property in source and view objects.

Arguments

modelObject : Object which one of its property will be bound. Must be subclass of matlab.mixin.SetGet
propname : Name of property of modelObject to bind
viewObjects : UI object which its value will be bound. can be multiple. Should have property 'Value'
i.e. togglebutton, checkbox, numeric editfield or gauge

Example

bindValue(model,'threshold',thresholdEditField);
% Binds model.threshold with thresholdEditField.Value

bindValue(model,'ROI.xmin',ROI_x_editfield);
% Binds model.ROI.xmin with ROI_x_editfield.Value

인용 양식

Hyeokjin Jho (2024). bindValue (https://www.mathworks.com/matlabcentral/fileexchange/90885-bindvalue), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

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

Updated description about modelObject

1.0.0