p_input - mimic functionality of "input" while publishing.

버전 1.0.0.0 (2.25 KB) 작성자: Erik
This function mimics the behavior of the "input" function but works while publishing.
다운로드 수: 665
업데이트 날짜: 2012/6/18

라이선스 보기

Function p_input (short for "publish_input"). This function operates similar to MATLAB's "input" function. The arguments are identical.

This function mimics the behavior of MATLAB's "input" function, but is suitable for use in scripts to be published. The "input" function does not work in a script being published. When using the "p_input" function (with the same arguments as the "input" function) a dialog box appears for user input. After input is complete "p_input" displays the input prompt as well as the user input; when the script is published this appears inline with the text.

This function is not useful if intermediate output from MATLAB is necessary because the "publish" feature displays no intermediate output. However, the prompt string could be changed to reflect the current program state.

Please feel free to contact me if you have a better solution.

인용 양식

Erik (2024). p_input - mimic functionality of "input" while publishing. (https://www.mathworks.com/matlabcentral/fileexchange/37200-p_input-mimic-functionality-of-input-while-publishing), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Chemistry에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0