Is it possible to get the version number of a compiled program inside the program? I am using the Application Compiler.
For a project I am working on, I would like the program to output the current version being used in a char array. I have the following code:
if(isdeployed)
version = (Help here);
version_message = [‘Now running program.exe version: ‘ version];
else
version = ‘script’;
version_message = [‘Now running program.m version: ‘ version];
end
disp(version_message);
Is it possible to dynamically get the version number, or do I have to manually set it to ensure they are the same? I know it can be done with App Designer, but this executable does not use App Designer.For a project I am working on, I would like the program to output the current version being used in a char array. I have the following code:
if(isdeployed)
version = (Help here);
version_message = [‘Now running program.exe version: ‘ version];
else
version = ‘script’;
version_message = [‘Now running program.m version: ‘ version];
end
disp(version_message);
Is it possible to dynamically get the version number, or do I have to manually set it to ensure they are the same? I know it can be done with App Designer, but this executable does not use App Designer. For a project I am working on, I would like the program to output the current version being used in a char array. I have the following code:
if(isdeployed)
version = (Help here);
version_message = [‘Now running program.exe version: ‘ version];
else
version = ‘script’;
version_message = [‘Now running program.m version: ‘ version];
end
disp(version_message);
Is it possible to dynamically get the version number, or do I have to manually set it to ensure they are the same? I know it can be done with App Designer, but this executable does not use App Designer. compiler, version number, matlab MATLAB Answers — New Questions