putFile command is not working
4 ビュー (過去 30 日間)
表示 古いコメント
Hi, I follow this to transfer file to raspberry pi hardware. it works well while i sending image. but if i send text file it gives an error. how can i solve this?
mypi = raspi;
putFile(mypi,'output.txt','/home/pi/output.txt');
Error executing command: pscp: output.txt: Cannot open file
0 件のコメント
回答 (2 件)
Murat Belge
2015 年 10 月 27 日
This works fine for me. Can you execute the following commands an post the results:
>> a = dir('output.txt');
>> disp(a)
>> system(mypi,'ls -al')
>> system(mypi,'df -h')
0 件のコメント
参考
カテゴリ
Find more on Periodic Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!