No Such File or Directory Error While Compiling Simulink® Model

Updated Nov 13, 2022

Reported In

Software

  • VeriStand
  • Simulink
  • VeriStand Model Framework

Issue Details

When I compile my model in Simulink® using VeriStand Model Framework to deploy on my NI Linux Real-time target using VeriStand, I encounter an error which states - No such file or directory x86_64-nilrt-linux-gcc.exe. I'm using Matlab 2018b version. How can I rectify this problem ?

Solution

This problem may show up if your Simulink® project file path has spaces. Remove all the spaces by renaming some files if necessary and recompile.