issue with generating code for Dspace

11 views (last 30 days)
Rowan
Rowan on 23 Jun 2015
Okay so i'll try to make this as simple as possible. I'm having an issue with generation code for use in a Dspace terminal and i've narrowed the problem down to a fairly specific thing but I don't know how to resolve it. so some context about my problem:
the comupter i'm working on is at my university and it originally had matlab 2012b connected to Dspace. due to this version Not wanting to link up with the avaialble compilers, I had the university staff install matlab 2014b and then I followed the standard procedure with the Dspace installer app to reassign Dspace to the newer matlab version, so far so good.
unfortunately, when ever I try to generate code for a simulink model (even if the model is only a constant block connected to a Dspace output block) I get the following error:
The call to rti1104_make_rtw_hook, during the entry hook generated the following error:
Not enough input arguments.
The build process will terminate as a result.
i've gone through and troubleshooted this to work out the problem and I think i've identified it. Originally, if I tried to generate code for a model i've previously used in 2012b I get a warning stating that the slprj folder is for an older version and is therefore not compatible with the current version and asks me if I want to remove the old files and continue or if I want to abort the generation. if I change the name of the old slprj file so that matlab thinks it needs to make a new one, or if I select the remove and continue option the previous error comes up.
this is where I am stuck, i checked the slprj folder that gets generated by the 2014b version and there is less content in the variable files than in the 2012b but this may only be because the old version keeps stopping halfway through code generation. any Ideas?
one last thing; there is an easier solution to this problem, I could go back to using 2012B which already works fine, the only thing is I would need a compiler that works with it. i've looked this up on the website and my best bet would be visual studios 2010 (must be this version as 2012b refuses to identify any later version, the link on the mathworks support page takes me to 2013 version)so if anyone can send me a link to download and install the 2010 visual studios i could solve my problem this way (also, yes I have admin access on the machine I'm working on)

Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!