cosimWizard with ModelSim times out during Simulation Options
Show older comments
Hello,
I am using trying to run the MATLAB example:
and I have tried to follow the MATLAB cosimulation example found on Youtube as well:
However, I can't get past the Simulation Options step during the cosimWizard setup as it just times out. Within the log files I find the error:
"# ** Error: (vsim-3193) Load of "C:/Program Files/MATLAB/R2025b/toolbox/edalink/extensions/modelsim/windows64/liblfmhdls_tmwvs.dll" failed: Bad DLL format.""
I am not entirely sure what this means and how it can be resolved.
Command "vsim" does launch ModelSim Simulation Environment that is bundled with Libero SoC v2024.2.
In the environment variables I have added the "PATH" to the directory that contains the ModelSim.exe:
"C:\Microchip\Libero_SoC_v2024.2\ModelSim\win32acoem"
Any help would be appreciated. ver:
MATLAB Version 25.2 (R2025b)
Simulink Version 25.2 (R2025b)
Control System Toolbox Version 25.2 (R2025b)
Embedded Coder Version 25.2 (R2025b)
Fixed-Point Designer Version 25.2 (R2025b)
HDL Coder Version 25.2 (R2025b)
HDL Verifier Version 25.2 (R2025b)
MATLAB Coder Version 25.2 (R2025b)
PLECS Piece-wise Linear Electrical Circuit Simu Version 4.9.10
Signal Processing Toolbox Version 25.2 (R2025b)
Simscape Version 25.2 (R2025b)
Simscape Electrical Version 25.2 (R2025b)
Simulink Coder Version 25.2 (R2025b)
Simulink Control Design Version 25.2 (R2025b)
Symbolic Math Toolbox Version 25.2 (R2025b)
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with HDL Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!