How to check the variable in modelworkspace

There is a variable in model's workspace, and I want to check if the variable already declared exists, the result return to a variable in workspace. I try the method evalin from modelworkspace, however this method will return a value in model's workspace and the result can't be used to assign to a variable in base workspace.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 14 de En. de 2018

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!