getInformation
Description
gets the application Information values as a structure with properties. Use the
info_struct
= getInformation(app_object
)getInformation
function to get real-time application and model
information from the Application object.
Examples
Get Application Information
You can get real-time application information by using the
getInformation
function.
Create an application object.
my_app = slrealtime.Application('slrt_ex_osc_inlined')
my_app = Application with properties: ApplicationName: 'slrt_ex_osc_inlined' ModelName: 'slrt_ex_osc_inlined' UserData: [] Options: [1×1 slrealtime.internal.ApplicationOptions]
Get the application Information values as a structure with properties.
my_app_info = getInformation(my_app)
my_app_info = struct with fields: ApplicationName: 'slrt_ex_osc_inlined' ApplicationCreationDate: '2020-04-21 10:29:08' ApplicationLastModifiedDate: '2020-04-21 10:29:10' ModelName: 'slrt_ex_osc_inlined' ModelVersion: '1.22' ModelCreationDate: '1999-07-16 09:55:35' ModelLastModifiedDate: '2020-04-13 16:10:31' ModelLastModifiedBy: 'The MathWorks, Inc.' ModelSolverType: 'Fixed-step' ModelSolverName: 'ode4' MatlabVersion: '9.9.0.1343993 (R2020b) Prerelease'
View application information values as array elements.
my_app_info.ApplicationCreationDate
ans = '2020-04-21 10:29:08'
Input Arguments
app_object
— Object that represents real-time application files on the development
computer
object
Provides access to methods that manipulate the real-time application files.
Output Arguments
info_struct
— Information values as a structure with properties
a structure with properties
The Information values are read-only. The structures in the array are:
ApplicationName
— real-time application nameApplicationCreationDate
— real-time application creation dateApplicationLastModifiedDate
— real-time application modified dateModelName
— name of model from which real-time application was builtModelVersion
— model versionModelCreationDate
— model creation dateModelLastModifiedDate
— model modified dateModelLastModifiedBy
— model modified byModelSolverType
— model solver typeModelSolverName
— model solver nameMatlabVersion
— MATLAB version
Version History
Introduced in R2020b
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)