필터 지우기
필터 지우기

I got an error when I export the data in scan mode to excel file in Simbiology

조회 수: 2 (최근 30일)
Hello.
I got an error when I use the scan mode to run Simbiology in order to export the data to excel file as follows: "Datasheet export failed with error: The data block starting at cell "A6" exceeds the sheet boundaries by 23020187 row(s) and 0 Column (s). This problem occured when I use the new version of MATLAB 2022a. I drag the results (scalar) to the new data sheet and it showed up in the new data sheet. However, I cannot export it to excel file. Could anyone give me any suggestions how to solve this issue?
Thank you for your assistance.
Kind reagards,
Teerachat Saeheng
  댓글 수: 4
Florian Augustin
Florian Augustin 2022년 5월 23일
Hi Walter,
Good point. Scalar observables on SimData vectors can be exported as follows:
% Assuming the results variable was exported from the
% SimBiology Model Analyzer as decribed in my previous comment.
scalarObs = vertcat(results.ScalarObservables);
writetable(scalarObs, "obs.csv");
This table will probably be shorter than exporting all time-dependent data in the SimData vectors. If the length of the SimData is less than the max. number of allowed rows in Excel spreadsheets, then the file extension .xlsx can be used.
-Florian
Walter Roberson
Walter Roberson 2022년 5월 24일
Ah, I did not know that scalar had special meaning in this context.

댓글을 달려면 로그인하십시오.

답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Scan Parameter Ranges에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by