Skip to content
Menu
Barely Walking
  • Home
  • Robotics
  • SD, LLMs
  • One shot projects
  • 3d printers
  • About me
Barely Walking

Category: matlab

07/10/201916/04/2022

Functions and figures in Matlab

This is a funny one – how to make a Matlab figure do some stuff on-demand with key presses and GUI elements.

Read More
25/01/201816/04/2022

Matlab R2017b – the MATLABWindow issue

I almost forgot, while discussing libpam last time, that the top reason for Matlab R2017b crashing in flames and destruction on Slackware 14.2 is actually MATLABWindow (and the Chromium underneath) that are causing problems. Solution? As always, cheat with libraries.

Read More
16/12/201716/04/2022

Matlab R2017b + Slackware 14.2 = libpam.so.0 missing

Installing newer versions of Matlab on not-PAM-ified linux requires supplying libpam.so.0 somewhere.

Read More
11/04/201716/04/2022

Working with AS5048a on Arduino with Matlab plots

Goal: postprocess what absolute magnetic angle measurement sensor (woah) AS5048a returns with Matlab in order to see plots and make animations. First result: what in the name of valhalla is the Matlab serial doing?! Second result: works.

Read More
03/04/201716/04/2022

Fixing problems with Matlab + serial connection + fprintf + string variables

So, last night I had a problem with a simple walking quadruped robot. The whole problem circles the differences between: fprintf( robot, ‘250 250\n’) fprintf( robot, test1) fprintf( robot, ‘%s’, test1)

Read More
27/03/201716/04/2022

Using mouse for control in Matlab

So, it basically boils down to an old problem: how do I get some user-controlled inputs in Matlab? Keyboard handling in real-time is basically nonexistant, joystick is alright, but the most easy way to get some input and freedom of controlling things is – to poll the mouse position. Spoiler alert: xy = get( 0,…

Read More
23/03/201716/04/2022

Quick Matlab guide to the unicycle control

Let’s get going with a short series of tutorials dedicated to nonlinear control examples with Matlab/Octave implementation. First to go: unicycle.

Read More
17/02/201716/04/2022

Beautiful plots in Latex

Quick links: https://github.com/matlab2tikz/matlab2tikz – Matlab to TikZ (Latex graphics) conversion tool for plots https://www.sharelatex.com/learn/TikZ_package – TikZ documentation – general graphics https://www.sharelatex.com/learn/Pgfplots_package – Pgfplots documentation – plotting tool inside Latex Modifications and examples below.

Read More
09/02/201716/04/2022

Plot names in Matlab – using the ‘Tag’ property

Did you know you can tag the plots in Matlab for easier searching? Because I fuckin’ didn’t. Why so brutal? Well, after 6 years of writing your PhD in Matlab you CAN become furious when you realise instead of keeping the links to the currently opened plots in a global variables and different lists you…

Read More
11/10/201616/04/2022

Matlab interface for Dynamixel motors and Bioloid robot

This is an old one, but is working quite nice and should be still useful for working with Dynamixel motor (AX-12+, AX-12A). The goal was to have a nice toolbox used for direct control of Dynamixel motors using USB2Dynamixel or any other USB-Serial (half-duplex, ~1Mbps) adapter.

Read More
©2025 Barely Walking | Powered by WordPress and Superb Themes!