Open nl78 opened 1 year ago
Can you please provide steps to reproduce the problem including the exact MATLAB version?
Step to produce: open the .slx (attached to issue report) and try to compile it as FMU with ctrl-B. (it is already configured) Configuration: Matlab 2016b Update 7.
I have had the same issues, when I was using PowerGUI blocks in Matlab 2021b. The fix nl78 posts seems to solve the problem.
Hello,
We're facing a issue when trying to compile a model with a PowerGui block. (see attached example). The error messsage is
As a workaround we added an
if isfield(makeInfo,'sources')
around lines 56-64 ofgrtfmi_model_sources.m
. Hope that's the correct way to fix the issue :-).powermodel.zip
FMIKit Release 3.0 (but it seems to be the case also with master version) + Matlab 2016