MATLAB Debugging Tutorial

This is a tutorial on how to debug code in MATLAB using breakpoints. Table of contents below.

00:00 – Introduction
00:55 – Breakpoints
01:20 – Placing a breakpoint
02:13 – Running code with an error
02:40 – Running code with a breakpoint
03:44 – Taking a step/executing one line at a time
04:31 – Typing in the command window while debugging
05:15 – Finding and fixing an error
05:40 – Quitting debugging
06:34 – Continue code until next breakpoint
07:00 – Adding feedback in code
07:49 – Conditional breakpoints
08:39 – Finding and fixing another error
09:44 – Conclusion


Michalis Hadjikakou says:

Brilliant stuff man! Exactly what I needed! Thanks a lot!

Andy Westwood says:

I was very pleased to read that you are teaching, these Matlab tutorials are more easily absorbed than the MIT OpenCourseWare Matlab recordings.
I had encountered Conditional Breakpoints, but your method of placing code-snippets from the function into the Command space is a clever idea.
Thanks so much !

Pablo Ubiratan says:

Thanks man very clear explanation!

Fernando Daniel Muiños says:

Great tutorial. Thanks.

Jaafar BENDRISS says:

Thank you man !

totolipton says:

Omg thank you so much. I have programmed in matlab for years without using debugger, and  this is the first time ever I learned that conditional break points exist!

Sozialbutter says:

Thank you so much !!! You saved my code as well as my ass

Balasundaram K says:

very helpful

Hamed Teekany says:

Very good teacher you are

Meimei Dai says:

very clear and helpful. thanks!! especially the conditional breakpoint , saved me a lot of time! :)

Immorpher says:

“dbstop if error” is a life saver as well if you use a ton of functions!

Tejaswi Samrat Dasari says:

clear explanation.Is it your hobby or do you teach at any institute ?
Thanks !

Jieqiong XIAO says:

I like your tutorial and voice

Mohamed AbdelFattah Ali says:

Appreciation for your excellent efforts. Thanks a lot.

Mo Hossam says:

Thank you man

pedrojpzzz says:

Good tutorial, thank you

Zennouhi Mustapha says:

merci pour l’information

Alejandro Nieto says:

very useful!

ngoc tu nguyen says:

I had to log in to say THANKS. You saved my ass man.

Sultan Alzahrani says:

Very informative…
Thanks a lot

Joel Lewis says:

Great video! Thank you so much

Bruno M says:

Very useful, and clear explanation. Thank you very much!

salim louhichi says:

good job bro !

Write a comment


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles   Show Cars   Motorbikes   Scooters   Bicycles   Rims & Tires   Luxury BoatsFashion   Sunglasses   Luxury Watches   Luxury Purses   Jeans Wear   High Heels   Kinis Swimwear   Perfumes   Jewellery   Cosmetics   Shaving Helpers   Fashion Hats   Modeling TipsFooding   Chef Club   Fooding Helpers   Coktails & LiquorsSports   Sport Shoes   Fitness & Detox   Golf Gear   Racquets   Hiking & Trek Gear   Diving Equipment   Ski Gear   Snowboards   Surf Boards   Rollers & SkatesEntertainment   DIY Guides   Zik Instruments   Published Books   Music Albums   Cine Movies   Trading Helpers   Make Money   Fishing Equipment   Paintball Supplies   Trading Card Games   Telescopes   Knives   Vapes   GameplaysHigh Tech   Flat Screens   Tech Devices   Camera Lenses   Audio HiFi   Printers   USB Devices   PC Hardware   Network Gear   Cloud Servers   Software Helpers   Programmer Helpers   Mobile Apps   Hearing AidsHome   Home Furniture   Home Appliances   Tools Workshop   Beddings   Floor Layings   Barbecues   Aquarium Gear   Safe Boxes   Office Supplies   Security Locks   Cleaning ProductsKids   Baby Strollers   Child Car Seats   Remote ControlledTravel   Luggages & Bags   Airlines Seats   Hotel Rooms   Fun Trips   Cruise Ships   Mexico Tours