Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How do I save an executable as a variable in a *.mat?

1 vue (au cours des 30 derniers jours)
Anna Case
Anna Case le 7 Mai 2020
Clôturé : Anna Case le 7 Mai 2020
Hi,
I am updating an application to use App Designer. One of the things we do in the Opening function is load a *.mat which defines a few structures and loads an executable (backend application). Specifically, the executable is saved as 'app' and is a COM.R140_application. This application type is out of date and I do not have the executable installed, thus when I load the mat file as is, I receive the warning:
Warning: Variable 'app' originally saved as a
COM.R140_application cannot be instantiated as
an object and will be read in as a cell.
How do I save a different executable as a variable in the mat file? I will also be renaming it for obvious reasons...
Edit:
newAppName = system([path exename]);

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by