Call matlab from STATA
이전 댓글 표시
Hello,
I basically want to call MATLAB from STATA to create a file, then returning the control to STATA. I have this piece of code:
cd "${REGCON_read_path}"
shell matlab -noFigureWindows -r "try; run 'regcon_cnae_map.m'; catch; end; quit" -wait
So MATLAB opens a session in the correct folder, but it seems that it just opens the script and closes it without 'clicking on run'. I would appreciate if somebody could tell me what I am doing wrong.
I guess this is the correct forum since I could well call matlab from the windows prompt instead.
KR
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Historical Contests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!