Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
画像処理を行い、処理した画像をファイルに書き込む関数を書きたい。何も返してほしくない。無視できるダミー変数はいつでも返すことができますが、コードをクリーンに保ちたいと思います。MATLABでこれを実現するにはどうすればよいですか?
はい。
function [] = my_awesome_function(image,filename,other_inputs) % Do awesome things. end
何も返しません。さらに単純なバージョン:
function my_awesome_function(image,filename,other_inputs) % Do awesome things. end
同等です。