Hi Sharul Baggio,
The error message you received indicates that the "From Spreadsheet" block is not compatible with the FMU export process in certain configurations. To work around this limitation, consider using a different approach for input handling. One alternative is to utilize a MATLAB function block that reads the spreadsheet data at runtime. This block can be designed to accept user-uploaded files, allowing for dynamic input during simulation.
function data = readSpreadsheet(filePath)
% Read data from the specified spreadsheet file
data = readtable(filePath);
end
You can then call this function within your model to load the data dynamically. Hope, this method should help resolve your issue. Please let me know if you have any further questions.