How to export data from bode in Linear Analysis Tool
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
I get a bode of a simulink model by Linear Analysis Tool,I want to get data in bode X axes and Y axes, Anyone can help me ,Thanks!
採用された回答
The linearized model should show up in the "Linear Analysis Workspace" section on the left of the Linear Analysis tool. The default name for these models is, for example, linsys1.
What you want to do is:
- Drag your linear system linsys1 from the "Linear Analysis Workspace" to the "MATLAB Workspace" section.
- Now that the variable is in the MATLAB workspace, use the bode function to extract the data:
>> [mag,phase,freq] = bode(linsys1)
- Sebastian
7 件のコメント
Thank you very much! I tried it and I got data. Could I ask you another question?

What should I do?
Shannon
As the error message says, there's some delay block that needs 6 parameters but you are specifying 7.
Michael
2016 年 4 月 14 日
I try the drag and drop and it does not work. My version is Matlab R2014b. Could it be that this is a bug that was corrected in later versions? Is there any other way to do it other than hand typing all the details?
Jiri Minarik
2019 年 9 月 18 日
This doesn't work me as well. I'm using R2018b. I guess it has to be buged? Anyone got any luck with that?
It works in R2019a, maybe the bug was corrected
This doesn't work me as well by 2020b
The trick is to drag to the leftmost part of the MATLAB workspace area - under "Name" not under "Value". If you see the no-entry sign, your pointer is too much to the right.
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Trimming and Linearization についてさらに検索
タグ
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
