<NMAKE : fatal error U1073: 不知道如何生成“D:\Program” Stop.> when generating a protected model or s-function.

1 view (last 30 days)
When I was generating a protected model from a simulink model, a following error occured.
Code generation and compiling were done, but NMAKE error occured and no protected model generated.
The same model could be transfered into protected model just 2 days ago! But it doesn't work since yesterday!
I used my partner's computer, but it did not work.
I changed the compiler, but not worked neither.
I use a Matlab 2014a academic version.
Please help me!!! Thank you all.
  2 Comments
Nicolas SHAW
Nicolas SHAW on 12 Jul 2019
Luckly I find the reason just right now!
It is because there is a space in the install directory of Matlab ("Program Files").
Change the file name into "Program_Files" and it works!
But I am still confused why it did work 2 days ago when there was also a space in the directory???

Sign in to comment.

Answers (0)

Categories

Find more on Simulink 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!