|
|
|
print -despc 'Nicht-String!' |
|
| TE |
Gast
|
 |
Beiträge: ---
|
 |
|
 |
Anmeldedatum: ---
|
 |
|
 |
Wohnort: ---
|
 |
|
 |
Version: ---
|
 |
|
|
 |
|
Verfasst am: 12.12.2011, 20:11
Titel: print -despc 'Nicht-String!'
|
 |
Hi
Ich moechte gerne in einer GUI einen Button implementieren, um einen Plot in eine Datei zu speichern, die der Benutzer selbst benennen darf. Wenn ich das so realisiere
wird plotname natuerlich als string aufgefasst und der Plot wird unter der Datei "plotname" gespeichert. Gibt es eine Moeglichkeit, wie "print" das Ding nicht als String, sondern als Variable auffasst?
Gruesse und danke.
|
|
|
|
|
|
| TE |
Gast
|
 |
Beiträge: ---
|
 |
|
 |
Anmeldedatum: ---
|
 |
|
 |
Wohnort: ---
|
 |
|
 |
Version: ---
|
 |
|
|
 |
|
Verfasst am: 12.12.2011, 20:18
Titel:
|
 |
| Zitat: |
Warning: You used the function print with a filename plotname that matches the name of
a variable in your workspace. If you wanted to use the value of plotname instead of
printing to the file plotname, try calling print in the following form:
print('-depsc',plotname) |
Ich bin dumm, Matlab ist toll
|
|
|
|
|
|
|
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.
|
|