MATLAB Programming Style Guidelines

版本 1.0.0.0 (229.6 KB) 作者: Richard Johnson
13 pages of advice on writing clear code.
59.5K 次下载
更新时间 2003/2/21

查看许可证

编者注: This file was a File Exchange Pick of the Week

Advice on writing MATLAB code usually addresses efficiency concerns, with recommendations such as "Don't use loops." This document is different. Its concerns are correctness, clarity and generality. The goal of these guidelines is to help produce code that is more likely to be correct, understandable, sharable and maintainable.

This document lists MATLAB coding recommendations consistent with best practices in the software development community. These guidelines are generally the same as those for C, C++ and Java, with modifications for MATLAB features and history. The recommendations are based on guidelines for other languages collected from a number of sources and on personal experience.

This file is also available at http://www.datatool.com/prod02.htm

引用格式

Richard Johnson (2024). MATLAB Programming Style Guidelines (https://www.mathworks.com/matlabcentral/fileexchange/2529-matlab-programming-style-guidelines), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Adding custom doc 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0