Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Save .m file result in a different folder
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,I was wondering how can i save the result from a matlab function and use it in VB.net (if not possible then in a .txt file and then use it in VB.net). thanks in advance.
2 件のコメント
Sameer Gadekar
2018 年 6 月 25 日
編集済み: Sameer Gadekar
2018 年 6 月 25 日
x = 0:.1:1; A = [x; exp(x)]; fileID = fopen('exp.txt','w'); % Open the file in write mode fprintf(fileID,'%6s %12s\n','x','exp(x)'); % print the results in the file use appropriate format specifiers fprintf(fileID,'%6.2f %12.8f\n',A); % Write data to file fclose(fileID); % Close the file
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!