vssGetEvaluatedModelResourcePath
Get the model's current directory for external files (.mat and .oml) which are loaded by the model.
Syntax
vssGetEvaluatedModelResourcePath
vssGetEvaluatedModelResourcePath()
current_dir = vssGetEvaluatedModelResourcePath
current_dir = vssGetEvaluatedModelResourcePath()
Outputs
- current_dir
- Model’s current directory.
Example
Get the current directory of a model being currently evaluated
current_dir = vssGetEvaluatedModelResourcePath
current_dir = C:/Users/