フィルターのクリア

uigetfile and fileread combined

3 ビュー (過去 30 日間)
polo Mahmoud
polo Mahmoud 2019 年 11 月 7 日
コメント済み: polo Mahmoud 2019 年 11 月 7 日
Hi i can open my file by use of
S = fileread('coord.txt')
but i want to combine this to my other code where i use
[filename,pathname] = uigetfile({'*.txt'},'Load Coordinates for structure');
so make S still read the file like before with fileread but i want to be able to combine this to a pop up window

採用された回答

Walter Roberson
Walter Roberson 2019 年 11 月 7 日
fullname = fullfile(pathname, filename);
S = fileread(fullname);
  1 件のコメント
polo Mahmoud
polo Mahmoud 2019 年 11 月 7 日
thank you :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by