How to generate an m-file only with MATLAB codes?
Show older comments
I want to generate an m-file only with MATLAB codes. Can any experts help me with it?
For example, the whole process can contain two steps: 1) create an m-file called abc.m,
2) write three lines in the file a = 1; b = 2; c = a + b;
How can I do that? By the way, I got two operating systems for MATLAB R2013a (8.1.0.604): - PC, Windows 7 - Mac, OS X (10.9.3)
Thanks in advance!
Accepted Answer
More Answers (0)
Categories
Find more on Adding custom doc in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!