필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I wants to continuous log time in excel for each of my for loop in saperate rows?

조회 수: 1 (최근 30일)
Nikhil Mitaliya
Nikhil Mitaliya 2018년 9월 29일
마감: MATLAB Answer Bot 2021년 8월 20일
I am using following command to get the timing parameter:
timeA = 0; for i = 1:10 timeA = datestr(now,'HH:MM:SS.FFF AM'); disp(timeA); xlswrite('C:\test1.xlsx', cellstr(timeA)); end In this for every values of i, I am able to display the date characters on MATLAB screen but this function only writes to Cell A1 everytime. Instead of this I want to have for each values of i it should jump to next row. i.e. if for i = 1 it should write value timing value in A1 cell of excel and after value of i = 2, it should move to cell A2 and write the timing parater.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by