Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Direct loading a file into executable by clicking

1 Ansicht (letzte 30 Tage)
Baha411
Baha411 am 13 Jun. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello,
I have an file that use to reload input values, let's say "file.abc" a text file that stores the input numerical/text values for a MATLAB GUI/executable. I put a unique extension of ".abc" on purpose so that it can be a file that's specific for this executable. How can I make the gui/executable in such a way that when I double click on the file directly on the Windows10 file explorer, it will start the executable with those values?
I know how to do this by starting the MATLAB GUI/executable first and loading the file, but I am trying to learn how to do it by (double) clicking on the file explorer directly, just like the way any other software would work.
My next question would be, how to assign a visual on to the "file.abc" so that it won't look just empty white rectangle on file explorer? E.g., the way matlab .m files look with that 3D curve and zigzag line.
Thanks,
Baha
  1 Kommentar
Jan
Jan am 14 Jun. 2019
Bearbeitet: Jan am 14 Jun. 2019
You forgot to mention which operating system you use. In addition this does not seem to have any realtion to Matlab except that you have mentioned the icon of .m files. Then the question would be off-topic in this forum.

Antworten (0)

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by