Need help regarding publish problem....
Show older comments
I have attached a file named test2.m when i publish it using simple publish button. and then search its help in command window using help test2.m its output is following

Why it is showing code which i have written in help. It should show output jut like it should in help window as following.

So how i can overcome this problem??
1 Comment
Chad Greene
on 22 Jun 2014
Mujhaid, For this question and any question you ask on this forum, please choose "accept answer" if someone provides an answer that solves your problem. This helps readers with similar problems identify the best solution. It's also a nice way to let folks know when their efforts have helped you.
Accepted Answer
More Answers (0)
Categories
Find more on Scripts 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!