Macros in Matlab - repeating simple instructions
古いコメントを表示
Hi there,
I have read on some websites that writing macros for Matlab is not advisable? I am trying to write several as I am about to be embarking on the same process for a number of different data sets. twenty five to be exact. I would like to do simple things like write macro to call my data set put it through two or three functions that I have written and then save the results in a particular place. Is that possible? Is there any good literature I can get on the topic?
採用された回答
その他の回答 (2 件)
Walter Roberson
2014 年 2 月 18 日
0 投票
For something like that you would likely be better off writing functions.
But yes, you can write scripts. scripts run in the context of the current workspace.
1 件のコメント
covariant_cat
2018 年 6 月 6 日
How do you deal with import? Neither another function nor another script can import packages for a function.
カテゴリ
ヘルプ センター および File Exchange で Programming についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!