hyper text display problem: " and ' inside href = " "
1 view (last 30 days)
Show older comments
disp(['<a href="matlab: system(''"C:\p q.exe" "D:\ w rd.txt", -n45'')','">click me to run a file</a>']);
The hyperlink terminated at system(', so I cannot click it to run the command.
0 Comments
Answers (2)
Walter Roberson
on 20 May 2019
Edited: Walter Roberson
on 20 May 2019
Code the inner " as " or "
See Also
Categories
Find more on Data Type Conversion 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!