How do I solve "Unable to start Excel server for import"?
36 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Saurabh
le 28 Oct 2024 à 7:31
Modifié(e) : Saurabh
le 28 Oct 2024 à 7:33
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 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!