nav-left cat-right
cat-right
Aktuelle Kommentare
  • Jan: Thanks, I added my issue to the existing issue to the page. ...
  • pospiech: You are not making it really clear what you are doing. If yo...
  • Jan: Hi there, Jan again (from the third to last post). I ran int...
  • Söldner: OK, danke für die Info. Das kenne ich irgend wo her :) Hab d...
  • pospiech: Nur eine Sache: Das Wiki gibt es nicht mehr. Ich hatte keine...
  • Söldner: Auch wenn der Beitrag schon älter ist. Gibt es zum Thema Lat...
Zufällige Artikel
Alternatives Syntaxhighli... Hier das neue Syntaxhighlighting von LaTeX in geshi %...
Streams in C++ Bei der Einarbeitung der Ein und Ausgabe von Daten in C++ bin ich bei der Suche...
C++ Vortrag: Grundlagen u... Den folgenden Vortrag mit Titel “Grundlagen und Objektorientierte...
Compilation of Phonon und... The original documentation of Trolltech was not sufficient to get me compile...
Einführung in Biblio... Im Rahmen eines Arbeitsgruppenseminars der AG Morgner wurde der folgende...
Mathematik mit C++ Nützliche Links… Numerical Recipes Onlineversion des Buches...

waitbar with cancel button

The following code is an example for a loop function with a waitbar that allows canceling of the loop with the cancel button: Note however that a waitbar consumes very much time. Depending on the code this can slow down the calculation significantly. if numel(indices) > 1 hWait = waitbar(0,'1', ... 'Name','Exporting Plots ...', ... 'CreateCancelBtn', ... ...

radiobuttons in a buttongroup

In matlab one has to place radiobuttons in a uibuttongroup to make them exclusively selectable. In the startup of the gui one can select the default selection and define a callback function set(handles.uibuttongroupView, 'SelectedObject', handles.radiobuttonPlotROI); set(handles.uibuttongroupView, 'SelectionChangeFcn',@uibuttongroupView_SelectionChangeFcn); The callback function then looks...

enable zoom in gui

Matlab provides the function of making axes zoomable in a gui (zoom reference). In a matlab gui this is enable by using this code: hZoom = zoom; setAllowAxesZoom(hZoom,handles.axes,true); set(hZoom,'Motion','both','Enable','on');

change extension of filename

Very often I tend to save the results of a file under the same name, but with a modified extension. This code shows how to achieve this % change extension [~, ~, ext] = fileparts(FileName); FileName = strrep(FileName, ext, '-xyz.png'); If the file should be saved under a different folder it needs to be created and the file name changed accordingly [filepath, filename, ext] =...

check if gui selection has changed

The callback of an ui element is called whenever the element has been modified. However this does not necessarily mean that the value of the element has changed. Here is an example where an action is only performed if the value has changed. The trick is to use a value variable with persistent. function popupmenuAlgorithm_Callback(hObject, eventdata, handles) % hObject handle to popupmenuAlgorithm (see GCBO) %...

matlab popupmenu (combobox)

The popupmenu of the matlab gui is based on the uicontrol class. Below is a sample code for its usage: % create text entries in menu colormapStr{1}= 'blue-red'; colormapStr{2}= 'red-blue'; colormapStr{3}= 'gray'; set(handles.popupmenuColorMap, 'String',colormapStr,'value',1);   % get current selection of menu ColorMapContents =...

Ein paar Tage in Dresden

Mitte August waren wir ein paar Tage in Dresden und haben uns die Altstadt, Semper Oper, Frauenkirche, Schloss Pillnitz und die Sächsische Schweiz angeschaut. Wir haben in der Neustadt in der Nähe des goldenen Reiters gewohnt und sind Abends häufig in der äußeren Neustadt gewesen. Sehr zu empfehlen ist das Thalia Kino, wo man auch sehr gut was trinken kann, wenn man Jazz Musik mag das Blue Note und...

LaTeX-Einführung

Die folgenden Folien und Übungen wurden in einer zweitägigen Einführung von LaTeX verwendet. Die Zielausrichtung lag auf der Erstellung von einfachen Protokollen mit Ausblicken auf Themen, die bei Bachelor und Masterarbeiten relevant sind.   LaTeXEinführungVortrag-2012-05-13.pdf (2,1 MiB)   LaTeXEinführungUebungen-2012-05-13.zip (3,0 MiB) Die Inhalte entsprechen im Wesentlichen...
Page 1 of 1612345...10...Last »