winopen command in linux
13 ビュー (過去 30 日間)
古いコメントを表示
what is the alternative for 'winopen' command in Linux?
0 件のコメント
回答 (1 件)
Ameer Hamza
2020 年 11 月 15 日
If you can open it from the command line, then you can use system() function: https://www.mathworks.com/help/releases/R2020b/matlab/ref/system.html to open it programmatically.
2 件のコメント
Ameer Hamza
2020 年 11 月 15 日
編集済み: Ameer Hamza
2020 年 11 月 15 日
I currently don't have access to a linux machine but on macOS, both of these work
system('/Applications/VLC.app/Contents/MacOS/VLC /path_to_video_file &')
% or
system('/usr/bin/open /path_to_video_file &')
Do you have a command-line tool 'open' installed on your Linux? If yes, give the complete path to the executable, system() does not load the $PATH. In case you don't have an 'open' tool, you may find this helpful: https://stackoverflow.com/questions/264395/linux-equivalent-of-the-mac-os-x-open-command.
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!