How to generate output for a function placed in a script

1 view (last 30 days)
I created a function to generate to find the mass of air, given pressure, temperature, volume, and molecular weight and I was wondering how I could generate the output when I publish it to a PDF? Attached is my code, and I would really appreciate some input if anyone can even find a way to make it better!
  1 Comment
Geoff Hayes
Geoff Hayes on 16 Feb 2015
Manik - you didn't attach any code. You must press the Attach File button once you have chosen the file. Also, please describe how you are publishing it to a PDF and what (if any) inputs are required to run your function and so generate some output.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB 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!