Info

This question is closed. Reopen it to edit or answer.

How to check the variable in modelworkspace

1 view (last 30 days)
xian zhao
xian zhao on 14 Jan 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!