Asee peer logo

Designing a MATLAB-based Escape Room

Download Paper |


2020 ASEE Virtual Annual Conference Content Access


Virtual On line

Publication Date

June 22, 2020

Start Date

June 22, 2020

End Date

June 26, 2021

Conference Session

Biomedical Engineering Curriculum and Design - June 24th

Tagged Division

Biomedical Engineering

Page Count




Permanent URL

Download Count


Request a correction

Paper Authors


Lauren Nicole Heckelman Duke University Orcid 16x16

visit author page

Lauren Heckelman is a Ph.D. candidate in the Department of Biomedical Engineering at Duke University. She previously received her B.S.E. and M.S. degrees in biomedical engineering from Duke in Spring 2016 and Fall 2017, respectively. Lauren is currently advised by Dr. Louis E. DeFrate, Sc.D. She works as a graduate research assistant in the DeFrate Musculoskeletal Bioengineering Laboratory, where she investigates hip and knee cartilage mechanics using magnetic resonance imaging, image processing, and 3D solid modeling.

visit author page


Elizabeth Kathleen Bucholz Duke University

visit author page

Dr. Bucholz is an Assistant Professor of the Practice for the Department of Biomedical Engineering at Duke University and has served as the Associate Director of Undergraduate Studies for the Department of Biomedical Engineering in the Pratt School of Engineering for the past four years. She has been teaching for the department for 7 years, and graduated from Duke University with a Ph.D. in Biomedical Engineering in 2008 from the Center for In Vivo Microscopy under the guidance of Dr. G. Allan Johnson. Dr. Bucholz teaches 4 classes a year including BME 271: Signals and Systems, BME 303: Modern Diagnostic Imaging Systems, BME 590: Magnetic Resonance Imaging, and BME 790L: Signal Processing and Applied Mathematics.

visit author page

Download Paper |


Escape rooms promote creative thinking, teamwork, communication, and cooperation, making them valuable tools for educational applications. However, physical escape rooms can be expensive to construct, impractical for temporary use, and difficult to adapt for large classes. To address these limitations, we designed a MATLAB-based escape room for BME 303L: Modern Diagnostic Imaging Systems. BME 303L is generally comprised of approximately 70 undergraduate biomedical engineering students at Duke University each spring. This upper-level core class, taken by juniors and seniors, covers the mathematical and physical bases underlying medical imaging modalities including x-ray, computed tomography (CT), ultrasound, magnetic resonance imaging (MRI), and nuclear medicine.

MATLAB was specifically selected as the interface for this activity as it is: • Windows-, Mac-, and Linux-compatible • Freely available on almost all university- and student-owned computers • Fully customizable due to its built-in graphical user interface (GUI) tools • Able to accommodate large numbers of students/teams • Easily modifiable, adaptable, and transferrable • Able to automatically keep time and assess penalties • Able to randomize aspects of room puzzles

The escape room was comprised of 6 rooms, each of which corresponded to a single course module. The puzzle(s) within each room were specifically designed to align with the student learning outcomes of each module and to test a broad range of concepts within each imaging modality. After reviewing the game rules and starting the countdown timer, the students chose a room from a drop-down menu. An image of the “room” was then displayed within the MATLAB GUI. As is customary in escape rooms, students had to identify both the question being asked and the answer to that question in order to determine the “secret code” (consisting of three letters or numbers) required to escape the room. When the students solved the final room puzzle, the program immediately stopped and computed the time it took each team to escape. Two hints and a solution card were available for each room; however, each hint added a time penalty (in minutes) equal to the total number of hints/solution cards used to the elapsed time. Additionally, a 30-second time penalty was assessed for each incorrect answer. Students were provided with a formula sheet, and were encouraged to use a calculator, blank paper, and writing utensils.

The class consisted of 17 teams of 3-4 students. All teams successfully escaped all 6 rooms in an average (h:mm:ss) of 0:43:50 [range: 0:14:30-1:07:28]. Very few groups used hints, as most students did not want to be assessed a time penalty. None of the teams used a solution card to automatically bypass a room without solving the puzzle.

Our MATLAB-based escape room challenged students to work together to recall concepts from each course module, which enabled them to identify topics they needed to review more closely in anticipation of the cumulative final exam. While this escape room was designed specifically for a medical imaging course, the MATLAB framework developed for this activity can be readily adapted to address the specific needs of a variety of courses. For example, additional rooms can be added, the difficulty level of each puzzle can be modified, time penalties can be changed or removed, additional hints can be provided, etc. Educators can use this framework to not only supplement classroom learning and recall in a fun and engaging way, but they can also use it to promote the development of intangible engineering skills, including communication, curiosity, time management, and teamwork.

Heckelman, L. N., & Bucholz, E. K. (2020, June), Designing a MATLAB-based Escape Room Paper presented at 2020 ASEE Virtual Annual Conference Content Access, Virtual On line . 10.18260/1-2--34402

ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2020 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015