Back to all courses

Modern topics in telecommunications and radio engineering 6 – Using C with MATLAB

Individual course

Max amount of FITech students: 20

Persons without a valid study right at a Finnish university or university of applied sciences have preference to this course.

Learn C programming language and how to call C from MATLAB. 

Course contents

  • Introduction to C
  • Installing C compiler for MATLAB
  • Calling C (MEX) files from MATLAB
  • Variables and arithmetic
  • Control Flow and Logical expressions
  • Functions
  • Arrays and pointers (mexFunction for arrays)
  • Structure data types and the pre-processor
  • Standard C library and complex data types, <tgmath.h> (mexFunction for complex vector)
  • Multithreaded programming using OpenMP
  • Automatic C code generation from MATLAB

Learning outcomes

After successfully completing this course, the student

  • knows fundamentals of C programming language.
  • knows how to call C function from MATLAB as a part of larger programs.
  • knows complex data types and multithreaded programming.
  • knows most important functions of C standard library.
  • can use automatic C code generation tool (MATLAB coder).
  • can avoid common pitfalls in C programming.

Course material

  • Main course book is “The C Book”, by Mike Banahan, Declan Brady, and Mark Doran (freely available online)
  • MATLAB and MATLAB Coder are required (recommended to have access to MATLAB Online). Need to be able to install C compiler for MATLAB such as this one (for Windows; for Linux and macOS student needs to install equivalent compiler (teacher does not have access to Linux/macOS)).

Teaching schedule

Exercise submissions have a fixed schedule after each lecture, and in the end of the course. Lecture schedule is not yet confirmed (recorded lectures in Moodle).

Completion methods

Home work after each lecture and final project work. Online teaching, lecture recordings are also available.

More information in the University of Oulu study guide.

You can get a digital badge after completing this course.

Responsible teacher

University of Oulu
Janne Lehtomäki

Further information about the course and studying

University of Oulu
FITech contact person Oulu ICT

Contact person for applications

FITech Network University
Fanny Qvickström, Student services specialist
Application period has ended
Application period has ended
Topics:
5G technology,
Programming,
Wireless technology
Course code:
521196S
Study credits:
5 ECTS
Price:
0 €
Course level:
Teaching period:
14.3.–16.5.2023
Application deadline:
Application period has ended
Host university:
University of Oulu
Who can apply:
Adult learner,
Degree student
Teaching method:
Online
Teaching language:
English
General prerequisites:
Basics of MATLAB programming, no C knowledge required
Course suitable for:
People with at least basic knowledge of MATLAB, who want to learn C and how to use C within MATLAB
Interested in this course? Subscribe and get updates about the course directly to your email. You can cancel subscription any time you want.