Question: maplesim connector sfunction


I have downloaded the lead acid battery model from the link I have made the whole system as a subsystem block and tried to generate a simulink sfunction block, but I was not successful. I am getting the below error while doing so.

 Error in Component Button43 with caption "Generate to Simulink":
(in MapleSim:-GetInitialConditions:-GetInitialConditions) non-constant values.

Can someone help me out in generating the equvalent sfunction block for the ablove example.

Thanks in advance.


Please Wait...