How to export data from bode in Linear Analysis Tool

13 Ansichten (letzte 30 Tage)
shannon Zhang
shannon Zhang am 14 Mär. 2016
Kommentiert: Kenneth Strain am 6 Nov. 2020
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!

Akzeptierte Antwort

Sebastian Castro
Sebastian Castro am 14 Mär. 2016
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:
  1. Drag your linear system linsys1 from the "Linear Analysis Workspace" to the "MATLAB Workspace" section.
  2. Now that the variable is in the MATLAB workspace, use the bode function to extract the data:
>> [mag,phase,freq] = bode(linsys1)
- Sebastian
  7 Kommentare
Melika Mohammadkarimi
Melika Mohammadkarimi am 17 Okt. 2020
This doesn't work me as well by 2020b
Kenneth Strain
Kenneth Strain am 6 Nov. 2020
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Trimming and Linearization finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by