필터 지우기
필터 지우기

How to save results in a matlab file

조회 수: 4 (최근 30일)
Matyas Varga
Matyas Varga 2015년 6월 28일
답변: Star Strider 2015년 6월 28일
I have .m file that measures reaction time and records the key pressed as an answer. All well and good to display in command window but how can I save the results in a file which I will be able to use later on in Matlab? Thanks

답변 (1개)

Star Strider
Star Strider 2015년 6월 28일
You don’t give enough information for a specific answer.
However if you are collecting your data in a loop of some sort, save your times to a vector (or matrix, depending on how you have your study designed), then after the loop, write the vector or matrix to a file to use later. (I prefer .mat files unless you’re going to use them in applications other than MATLAB. Otherwise, save them in a file format that can be read by your other applications.)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by