How to implement simulink model in matlab coder

조회 수: 1 (최근 30일)
Antonio Tartaglione
Antonio Tartaglione 2018년 10월 18일
Hi everyone, I have this very simple model that I compile by using Simulink coder and ert_shrlib.tlc as System target file. Moreover, I have a script in Matlab where I read an Excel file to import the two inputs that I set by using the timeseries function and the option "Data Import/Export-Load from Workspace-Input" inside the Simulink model. My goal is to have an executable created by Matlab coder that englobes the model and that requires the Excel input file and that returns another Excel file with output (result of the sum). In this case, by using ert_shrlib.tlc as System target file, I have a dll library that I can load inside the Matlab script using coder.loadlibrary. Then, I have problems when I try to use Matlab coder. It does not support xlsread, xlswrite, timeseries and coder.loadlibrary. Somebody knows how to solve this problem?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by