Publish MATLAB Examples

The publish command in MATLAB lets you quickly generate a formatted file, as an example for others, that contains MATLAB code, results from running the code, and an interactive table of contents.

Step 2

View Commented MATLAB code with cells

Step 3

View Published MATLAB example with comments and results

By publishing MATLAB code as examples, you can:

  • Build dynamic how-to resources and step-by-step tutorials with graphical results
  • Connect theory to practice by guiding students through MATLAB computations
  • Create instructions for MATLAB based homework assignments and projects
  • Simplify grading and build awareness among students of course requirements

The published MATLAB code can be output in the following formats: HTML, PDF, PPT, DOC, LaTeX, and XML.

Explore MATLAB Central to find MATLAB examples that support your teaching and research. You can share your examples by either posting them on MATLAB Central File Exchange or linking to them on MATLAB Central Link Exchange.

"Publishing MATLAB examples is valuable to researchers as they disseminate their work, and it also enables course instructors and students to effectively share their MATLAB based classroom demonstrations and homework exercises."

Professor Iyad Obeid, Department of Electrical and Computer Engineering, Temple University

Demonstration of MATLAB Publishing

"My students used to submit MATLAB files in homework, which required me to run their scripts and find the results among everything the script produced. Now my students publish their solutions in MATLAB, which lets everyone see both inputs and outputs as I grade exercises. It has really simplified the grading process."

Professor Jake Blanchard, Department of Engineering Physics, University of Wisconsin

MATLAB Example Published to HTML

Featured MATLAB Examples

Providing MATLAB Instruction

Disseminating Tools, Algorithms, and Research

Assigning and Collecting Homework

최신 블로그 업데이트

Cleve's Corner

Cleve의 블로그

Stuart's MATLAB Videos

Stuart의 블로그

모든 블로그 보기

MakerZone 참여

Arduino, Raspberry Pi, LEGO MINDSTORMS NXT와 MATLAB 및 Simulink를 사용하는 제작자 커뮤니티에 참여하십시오.

자세히 보기

MATLAB 자격증 취득

학생은 MATLAB 자격증 응시료의 특별 할인을 받으실 수 있습니다.

자격증 취득