Output Switch and Attribute Function Conflict

1 view (last 30 days)
Whenever I add an Attribute Function block to a model containing an Output Switch I get the following Make Error. ---------------------------------------------------- Making simulation target "Tx2_exp_sfun", ...
'Tx2_exp_sfun.bat' is not recognized as an internal or external command, operable program or batch file. ---------------------------------------------------- This error is precisely the same as I had when I did not have the SDK loaded for Windows 7.
  1 Comment
Kaustubha Govind
Kaustubha Govind on 25 Jun 2011
I would recommend adding more information to your existing question at http://www.mathworks.com/matlabcentral/answers/10042-make-error-attribute-function-block since this seems like the same issue. Also, please answer Devdatt's question on that post because it is still relevant.

Sign in to comment.

Answers (1)

Jeff Bradley
Jeff Bradley on 29 Jun 2011
Resolved by switchng compilers. The MS Visual Studio 2010 Express was the problem. Corrected by running on a machine with MS Visual Studio 2010.

Categories

Find more on Discrete-Event Simulation in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!