![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1344544/image.jpeg)
I cannot get my userdefined m-function help by the ‘help ___ ’ command in Command window
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I cannot get my userdefined m-function help by the ‘help xxx ’ command in Command window.
As the Official Help Document show (figure1 below),I copy the m-function addme and save the file to my workdir.
However, when type 'help addme' in Command window , I only get the result as 'addme is a function'(figure 2 below).
As show in figure 3 , the help report result of my workdir shows that there is no help in my code.
How can I get my my userdefined m-function help ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1336974/image.png)
- figure1 Official Help Document
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1336979/image.png)
- figure2 my code
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1336984/image.png)
- figure3 help report
0 comentarios
Respuestas (1)
Swaraj
el 4 de Abr. de 2023
I tried running it and it worked correctly.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1344544/image.jpeg)
I got the above output.
I suggest you try it out once again. It should work in the intended way.
Ver también
Categorías
Más información sobre MATLAB Report Generator en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!