integrate tensorflow model into simulink for simulation and code generation -凯发k8网页登录
watch a quick demonstration of how to use a pretrained tensorflow™ network in simulink® to implement a deep learning-based, state-of-charge estimation algorithm for a battery management system.
this demo uses a neural network that has been trained in tensorflow using battery discharge data measured in the lab.
the example has two parts: importing a pretrained tensorflow model into matlab® and using the imported model in simulink for simulation and library-free c code generation. the first part shows how to use the importtensorflownetwork command to bring a neural network into matlab from tensorflow and how to visualize an imported network in deep network designer.
the second part illustrates how to put an imported network into a simulink model using predict block. using this block, the network is simulated and results are compared with the true state-of-charge level as well as an estimate obtained using an extended kalman filter. finally, the imported network is used to generate library-free c code that can run on any microcontroller or ecu, including the nxp s32k boards.
related products
learn more
featured product
deep learning toolbox
up next:
related videos:
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)