Question about MATLAB functions

조회 수: 1 (최근 30일)
Yingquan Li
Yingquan Li . 2011년 7월 22일
when you use help on any function, MATLAB gives you a description of how that particular function works. Is there any way to see the actual code portion of MATLAB built-in functions and M-File function?

답변 (2개)

Jason 2011년 7월 22일
I don't know if this helps, but most of the time, there are examples at the bottom of the help section of that particular function. You could try and execute them, and then step (in) line by line.

Fangjun Jiang
Fangjun Jiang 2011년 7월 22일
Not all functions are provided with the .m source code. But you can always try, e.g.
edit xlswrite.m


Help CenterFile Exchange에서 Programming Utilities에 대해 자세히 알아보기


Community Treasure Hunt

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

Start Hunting!

Translated by