필터 지우기
필터 지우기

matlab的检查器​中在数据属性中的YD​ata需要输入表达式​,如何进行输入?

조회 수: 2 (최근 30일)
long feifei
long feifei 2022년 2월 21일
답변: Riya 2023년 11월 13일

답변 (1개)

Riya
Riya 2023년 11월 13일
Hello long feifei,
As per my understanding, you want to enter the expression required for YData in the data property in MATLAB's inspector.
Please note that to enter the expression required for `YData` in the data property using MATLAB's inspector, you can follow these steps:
1. Open the figure in which you want to modify the `YData` property.
2. Select the desired object (e.g., line, scatter plot, etc.) for which you want to set or modify the `YData` property.
3. Right-click on the selected object and choose "Properties" from the context menu. This will open the Property Inspector.
4. In the Property Inspector, locate the "Data" property. This property contains the `XData` and `YData` values for the selected object.
5. Click on the "..." button next to the `YData` field. This will open the "Enter expression" dialog box.
6. In the "Enter expression" dialog box, you can enter the desired expression for the `YData` property. You can use MATLAB's syntax and functions to define the expression.
7. After entering the expression, click the "OK" button to close the dialog box.
8. Finally, click the "Apply" button in the Property Inspector to apply the changes to the selected object.
Make sure to use valid MATLAB syntax and functions when entering the expression for `YData`. This allows you to perform calculations or use variables to define the values dynamically.
I hope it helps.

카테고리

Help CenterFile Exchange에서 迁移使用 GUIDE 创建的 App에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!