Error using rtwintgt-setup

When I first installed Matlab on a newly imaged machine, I was told that the real time windows target didn't install properly, at the end of the installation, and that I should use rtwintgt-setup to do it manually from the command window. So I opened MatLab, typed it in, and got the following - any ideas?
>> rtwintgt-setup
rtwintgt Install and remove the Real-Time Windows Target kernel.
The Real-Time Windows Target is a package that allows you to run C code
generated by Simulink Coder on a PC in real time. Please refer to
the Real-Time Windows Target documentation for more information.
Available options are:
-setup Install Real-Time Windows Target kernel on your system.
-install Same as -setup.
-uninstall Remove Real-Time Windows Target kernel from your system.
-version Display the kernel version currently installed.
Reference page in Help browser
doc rtwintgt
Error in rtwintgt (line 32) if nargin<1
Output argument "result" (and maybe others) not assigned during call to "C:\Program Files\MATLAB\R2012b\toolbox\rtw\targets\rtwin\rtwin\rtwintgt.m>rtwintgt".

Antworten (1)

Wayne King
Wayne King am 13 Sep. 2012

1 Stimme

I'm guessing you just need a space between rtwintgt and -setup
rtwintgt -setup

Kategorien

Tags

Gefragt:

am 13 Sep. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by