|
|
Workspace variable in Simulink Block laden |
|
Bizzy123 |

Forum-Newbie
|
 |
Beiträge: 7
|
 |
|
 |
Anmeldedatum: 18.02.15
|
 |
|
 |
Wohnort: ---
|
 |
|
 |
Version: ---
|
 |
|
|
 |
|
Verfasst am: 03.03.2015, 16:43
Titel: Workspace variable in Simulink Block laden
|
 |
Hallo und zwar folgendes Beispiel.
Ich hab im Workspace die Variable RA=0.5 und in meinem Simulinkmodel
einen Gain Block RA.
Wie bekomme ich den Wert aus der Workspace in diesen Block?
|
|
|
|
|
Winkow |

Moderator
|
 |
Beiträge: 3.842
|
 |
|
 |
Anmeldedatum: 04.11.11
|
 |
|
 |
Wohnort: Dresden
|
 |
|
 |
Version: R2014a 2015a
|
 |
|
|
 |
|
Verfasst am: 03.03.2015, 16:48
Titel:
|
 |
|
|
Bizzy123 |
Themenstarter

Forum-Newbie
|
 |
Beiträge: 7
|
 |
|
 |
Anmeldedatum: 18.02.15
|
 |
|
 |
Wohnort: ---
|
 |
|
 |
Version: ---
|
 |
|
|
 |
|
Verfasst am: 03.03.2015, 16:55
Titel:
|
 |
Hab einen Ausschnitt des Models angehängt.
Hab mit From Workspace rumprobiert aber wie soll ich den Block denn da einbauen?
Beschreibung: |
|
 Download |
Dateiname: |
simu.jpg |
Dateigröße: |
21.1 KB |
Heruntergeladen: |
586 mal |
|
|
|
Winkow |

Moderator
|
 |
Beiträge: 3.842
|
 |
|
 |
Anmeldedatum: 04.11.11
|
 |
|
 |
Wohnort: Dresden
|
 |
|
 |
Version: R2014a 2015a
|
 |
|
|
 |
|
Verfasst am: 03.03.2015, 17:12
Titel:
|
 |
kenn mich mit simulink nicht so gut aus aber kannst du nicht einfach den produkt block nehmen anstatt den gain block ?
_________________
richtig Fragen
|
|
|
cvanommer |

Forum-Anfänger
|
 |
Beiträge: 32
|
 |
|
 |
Anmeldedatum: 02.03.15
|
 |
|
 |
Wohnort: Garching bei München
|
 |
|
 |
Version: R2015a
|
 |
|
|
 |
|
Verfasst am: 04.03.2015, 09:29
Titel:
|
 |
Hallo,
Wenn du jetzt deine Variable in dein Block definiert die in deinem Workspace steht, kannst du mit der Block 'Product' dein orginales Signal mit dein Variable von der Workspace multiplizieren.
Viel Erfolg!
Christiaan
|
|
|
Bizzy123 |
Themenstarter

Forum-Newbie
|
 |
Beiträge: 7
|
 |
|
 |
Anmeldedatum: 18.02.15
|
 |
|
 |
Wohnort: ---
|
 |
|
 |
Version: ---
|
 |
|
|
 |
|
Verfasst am: 04.03.2015, 10:09
Titel:
|
 |
Dankeschön euch beiden
|
|
|
|
|
Einstellungen und Berechtigungen
|
|
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
|
|
Impressum
| Nutzungsbedingungen
| Datenschutz
| FAQ
| RSS
Hosted by:
Copyright © 2007 - 2025
goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.
|
|