Open sjanzou opened 6 days ago
To fix, include the latest sscapi.h file into the x64 folder with the ssc.dll file in the distribution and then MATLAB will find the exported function.
For completeness, please add sscall('unload'); to the beginning of the generated Matlab code to ensure the correct ssc.dll is loaded; e.g.
clear ssccall('unload'); ssccall('load');
See discussion at https://sam.nrel.gov/forum/forum-sdk/4788-matlab-and-ssc-library.html