run matlab help function_name from terminal
Show older comments
Dear Community,
I am trying to execute matlab help command for a function from terminal. The command can be easily executed from the MATLAB application, however it does not execute in terminal.
If I try -
matlab help function_name
then it starts the application.

If I try -
matlab -nodisplay -nodesktop help function_name
then it starts matlab on terminal.

But in none the cases result for help is printed.
In MATLAB Command window it prints the expected result (shown below). And I want to ask how can we get this in the terminal ?

Answers (1)
Walter Roberson
on 29 Jun 2022
matlab -nodisplay -nodesktop -r "help function_name"
1 Comment
Atin
on 29 Jun 2022
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!