Posts

Es werden Posts vom November, 2016 angezeigt.

Matlab: GUI Interface

Bild
Generating a GUI interfaces ( German ) In this post I show you how to generate a GUI interface with Matlab with buttons, checkboxes ... There one has to write "guide" in the console of Matlab and a window opens where you can create a new interface or load an old one. Now an editor opens where you easily can put the objects you want in. You can safe it an then the Matlab code is generated. To program it, it is important that you relate to each object an "tag". This you can do by double click on the object. An Inspector opens where you can edit it an other things like the "value", "name" or the design: Now one can push the green arrow to generate the code where you can define your functions: Programmieren des GUI interfaces The button can be programmed in the code under "function pushbutton1_Callback(hObject, eventdata, handles)". In this case the program generates a coil in "axes1" in dependence of the value in