필터 지우기
필터 지우기

How to run a .m file in MATLAB APP DESIGNER and load the parameters inside it in workspace.

조회 수: 47 (최근 30일)
I am working on MATLAB APP DESIGNER. I want to run some *.m files and load all the Parameters inside them in workspace at once. I want the push button in app designer to do this job.
I was able to put a 'Push Button' on APP designer screen. In the callback function of the push button, I have written a 'run' command to run the *.m files. The *.m files run very well but do not load any parameter in workspace.
What code should I write in addition to the RUN Command, so that the parameters get listed in workspace?
Thanks.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2021년 1월 28일
evalin('base','YourMFile')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by