フィルターのクリア

Collecting data from cftool

2 ビュー (過去 30 日間)
ANANTA BIJOY BHADRA
ANANTA BIJOY BHADRA 2022 年 2 月 25 日
回答済み: Aditya 2023 年 10 月 18 日
How can I collect a certain value from the cftool. For example, after curve fitting, I get the value of m (y=m*x+c) from the curve fitting. Now I need to use the value of m in the simulink. But I can not do it manually. I will need that to be done all by the matlab. How can I do that?

回答 (1 件)

Aditya
Aditya 2023 年 10 月 18 日
Hi Ananta,
I understand that you want to get the data from cftool and use it in the Simulink.
To achieve this you can follow these steps:
  1. In the cftool, perform the necessary curve fitting and obtain the desired results.
  2. Click on the “Export” button in the cftool toolbar.
  3. Choose “Export to Workspace” to export the results.
  4. In Simulink you can directly access the data present in the workspace.
Alternately, you can generate MATLAB code for the curve fitting process. For more detailed information on generating code and exporting fits to the workspace, please refer to the MATLAB documentation provided below:
Hope this helps!

カテゴリ

Help Center および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by