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に非常に便利なコードビットを持っています。 このコード ビットを使用して、既存のファイルを上書きすることなく、コードのさまざまな部分にファイルを保存しています。 このコードを C/C++ に変換する方法を教えてください。
i=0; name= ['test_', int2str(i)]; while exist(name) i=i+1; name= ['test_', int2str(i)]; end save(name)