How do I solve "Unable to start Excel server for import"?
조회 수: 4 (최근 30일)
이전 댓글 표시
I got the below error when I tried to execute the Simulink model.
I can figure it out but I'm not quite sure what exactly I should do.
What is the next step to the Simulink model?
I wonder if I need to install Microsoft Excel to my local PC.... I have a hunch, though....
Warning: Unable to start Excel server for import. basic' mode. See HELP XLSREAD for details.
Please refer to HELP XLSREAD for details.
> in xlsread (line 86)
In VCU_CNT_set_params (line 21)
In init_setting (line 25)
In run (line 112)
Error while using: xlsread (line 148)
Worksheet 'sheet1' not found.
Error: VCU_CNT_set_params (line 21)
VCU_CNT_trq_require_accper = xlsread('VCU_params.xlsx','sheet1','B2:I2');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: init_setting (line 25)
VCU_CNT_set_params;
^^^^^^^^^^^^^^^^^^
Error: run (line 112)
evalin('caller', strcat(scriptStem, ';'));
댓글 수: 0
채택된 답변
Saurabh
2024년 10월 28일
편집: Saurabh
2024년 10월 28일
I came across a similar discussion regarding this issue. In that case, the problem was that Excel was operating in a virtualized environment. It might be helpful to reinstall Office using a proper .msi installation instead of the click-to-run version.
The MATLAB answer thread can be found here:
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!