Error using rtwintgt-setup

5 views (last 30 days)
Matthew Lish
Matthew Lish on 13 Sep 2012
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".

Answers (1)

Wayne King
Wayne King on 13 Sep 2012
I'm guessing you just need a space between rtwintgt and -setup
rtwintgt -setup

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!