# Getting Started With MATLAB: Create, Run Scripts, Define Variables

In this article, we'll see the first things to learn getting started with MATLAB:
How to make MATLAB more personal
What the different windows are for
How to define a

Skip to content
# Articles

# Getting Started With MATLAB: Create, Run Scripts, Define Variables

# MATLAB Tutorial: Learn MATLAB Fast

# Import a Text File into MATLAB Using fgetl

# Read All Files in a Folder in MATLAB

# Xlsread Tutorial: Extract Data from Excel in MATLAB

# MATLAB Data Structures: Basic Syntax, Accessing Elements and Structure Array

# For Loop Syntax in MATLAB Through Simple Examples

# MATLAB & Simulink: Why It Doesn’t Find Your Function or Variable

# fprintf MATLAB function: Beginner’s Guide

# A New Approach to Embedded Systems: Model-Based Design

Category

In this article, we'll see the first things to learn getting started with MATLAB:
How to make MATLAB more personal
What the different windows are for
How to define a

In this article, you'll learn the basics of MATLAB Programming in 5 minutes, including how to:
Create variables, vectors, and matrices
Use MATLAB functions and scripts
Create loops and conditions

In this article, you'll learn to read a text file line by line, replace words in a line, and process every single line of the file. Specifically, you will learn:

In this article, you'll learn how to use the dir MATLAB command to manipulate files, folders, and subfolders. Specifically, you'll learn to:
Read all files in a folder in MATLAB

This article is a quick tutorial on using the xlsread MATLAB command to import data from an Excel file into MATLAB. Specifically, you'll learn to:
Extract data from Excel in MATLAB

When coding in MATLAB, your functions must be organized and well-written. Although having well-written functions can seem somewhat subjective, there are objective criteria to assess how well-written a function is.
In

In this article, you'll see practical examples of MATLAB for loops so that you can become more familiar with the way they work in MATLAB. Specifically, you'll learn:
The MATLAB

One of the most common errors you'll encounter we get when programming in MATLAB is the error "Undefined function or variable." In this article, you'll learn:
What the most common

In this article, you'll learn to generate text files from MATLAB using the MATLAB command fprintf. You'll find out about:
The MATLAB fprintf Syntax
How to print a matrix in

In this article, you'll learn what model-based design is all about—the drawbacks and advantages—illustrated through real-life examples. We'll see:
What model-based design is
An example of a model-based design approach