Call scholar.py from MATLAB to search and download pdf articles

Last week, I was thinking about using some scripts to pull articles’ information from google scholar and download pdf files to local drive automatically; and I found a python script ‘scholar.py’ at: https://github.com/ckreibich/scholar.py This script does a pretty good job at searching and parsing articles’ information from google scholar. However, it doesn’t support downloading the […]

Share this:
Use Matlab to interface with scholar.py to search on google scholar and download pdf articles from publishers

20160513_235615-1

Matlab serial communication

Introduction This post introduces how to use Serial port communication in Matlab. The hardware setup includes a Teensey (USB-based microcontroller) that was wired to three pushbuttons and connected to PC/laptop via a USB cable. A simple Matlab GUI interface was also created, which includes 3 circles corresponding to the 3 physical buttons, and a button to […]

Share this:

Matlab GUI: Listbox: Add and Remove Items during Run-time

Introduction This post introduces how to add and remove items from listbox in Matlab GUI. Selected items in listbox are removed by pressing ‘Del’ key on keyboard. On the other hand, new items are added by using edit text and pushbutton Add. Example in this post used uicontrol function to create Matlab UI objects. You can also […]

Share this:
2015-11-25_231944

2015-11-18_231646

Matlab GUI: Working with Listbox- Part 2

Introduction In the previous post, we introduced how to use listbox in Matlab using guide function. http://matlabvn.com/matlab-gui-working-listbox/ This post shows how to use uicontrol in Matlab to create listbox UI component and how to use html string to improve the design for listbox object. Specifically, to control font size, font name, back ground color, and […]

Share this:

Matlab GUI: Create Label using Java Swing Object in Matlab

Introduction In the previous post, we introduced how to add an icon to Matlab UI component by using string in html format. http://matlabvn.com/matlab-gui-add-icons-to-matlab-ui-components/ Most of the Matlab UI components support string in html format except for Label object. For example, the following matlab code and figure show that html format is not supported in Matlab […]

Share this:
2015-11-17_031939

matlabvn_tutorial-print6_uiicon_Func-Created-15-11-08-13-26

Matlab GUI: Add Icons to Matlab UI Components

  Introduction The appearance of Matlab GUI could be more attractive by placing icons besides Matlab UI components. In addition, adding icon gives users a general idea about functionality of the component. This post introduces how to add an icon to Matlab GUI component by setting ‘string’ property in HTML format. The ‘SAVE’ button in Fig 1 […]

Share this:

Matlab Graphics: Working with Text objects

Introduction Graphics objects are the basic drawing elements used by MATLAB to display data. Each object has a unique identifier called a handle. Using this handle, you can manipulate the properties of an existing graphics object. (using get and set function). Introduction of graphic object hierarchy can be found here. To create a text object […]

Share this:
2015-10-17_232548

matlabvn_tutorial-print1_lineobject_Func-Created-15-10-11-18-47

Matlab Graphics: Working with Axes and Line objects

In the previous post, we know that Matlab uses graphics objects to display data. Each graphics object has a unique identifier called a handles which can be used to access and manipulate properties of graphics objects. This post shows how to access and manipulate graphic objects though their handles and properties to display data in a […]

Share this:

Matlab Graphics: Introduction to graphic object hierarchy in Matlab

Graphics objects are the basic drawing elements used by MATLAB to display data. Each object has a unique identifier called a handle. Using this handle, you can manipulate the properties of an existing graphics object. (using get and set function) These objects are organized into a hierarchy, as shown in the following figure. The hierarchical nature […]

Share this:
hg_objects38