MATLAB Help Center
Find name of model that contains artifact
modelName = padv.util.getModelName(artifact)
modelName = padv.util.getModelName(artifact) returns the name of the model that contains artifact.
modelName
artifact
collapse all
padv.Artifact
Artifact information, specified as a padv.Artifact object.
You can create a padv.Artifact object either by:
Running a built-in query. When you run a built-in query, the query returns either a padv.Artifact object or an array of padv.Artifact objects.
Using the padv.Artifact class.
Example: padv.Artifact("sl_model_file",padv.util.ArtifactAddress(fullfile("02_Models","AHRS_Voter","specification","AHRS_Voter.slx")))
padv.Artifact("sl_model_file",padv.util.ArtifactAddress(fullfile("02_Models","AHRS_Voter","specification","AHRS_Voter.slx")))
Name of model that contains artifact, returned as a string.
Process Advisor | runprocess
runprocess
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
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
Europe
Asia Pacific
Contact your local office