08-09-2018 10:29 AM
Hello,
I'm trying to compile a simulink model to a DLL for use on a veristand system. I've been able to do this before but have since updated my computer system and now it doesn't make it through the build process.
I'm getting the following error message...
"Error: NI VeriStand Error: Invalid character in: 'c7_vat_development_2018_update/Trans Output Simulation/', exiting code generation. The name cannot start or end with / character.
Component: Simulink | Category: Block error"
It looks like it has an issue with the / at the end of the Trans Output Simulation, which is a block in the simulink model. However the / doesn't actually exist! In the naming convention above it just represents the model hierarchy! Is this a known or common issue?
Thanks
08-13-2018
07:48 AM
- last edited on
12-29-2024
01:39 PM
by
Content Cleaner
Hi DTS_PBO
The first thing i would check in cases such as this is that you have compatible versions installed.
I found a couple of similar cases, that were solved with this.
Regards.
08-13-2018 08:08 AM
Hi, yes I think that may be the case.
I have Verustand 2016, Matlab 2014b and Visual Studio 2013 installed.
It looks like maybe Visual Studio 2013 isn't compatible?
08-14-2018
08:08 AM
- last edited on
12-29-2024
01:39 PM
by
Content Cleaner
Hi, yeah i think that would be the case.
If you could get your hand on 2010 i think it would be worth trying.
I think it also can be worth looking at this: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YI5RCAW&l=en-US
Regards
08-16-2018 12:59 AM
Hello,
I think we experienced the same error some years ago because some names (at different levels) in the model were empty or contained special characters. In your sample 'c7_vat_development_2018_update/Trans Output Simulation/' I had expected something more after the last '/'
Hope this can help. HAGD.
08-20-2018 01:05 PM
Thanks for all the suggestions. I think I have solved the problem...
With the 2D lookup table I'd copied in another 1-D lookup table which did some basic sign switching of the signal. Somehow this block was nameless, giving this a name solved the problem compiling the lookup table. One of those annoying issues that's so simple yet take so long to find!
The issue with the S-function looks to have been caused by a missing external file that it was trying to reference.
10-11-2024 04:37 AM
great! all simulink blocks need to have a name! this solved the problem for me! thank you so much!