Filter löschen
Filter löschen

Open a matlab Function/Class file

1 Ansicht (letzte 30 Tage)
Avik nayak
Avik nayak am 14 Mär. 2019
Beantwortet: Avik nayak am 14 Mär. 2019
I am trying to create a matlab Function file at run time .
But
fid = fopen('xharness12344.m', 'wt' ); is opening a script file . I need a function file to be opened.
Please let me know how to do it .

Antworten (1)

Avik nayak
Avik nayak am 14 Mär. 2019
if it has a function template in it that is function functionname ...end it will automatically convert to function.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by