Unable to find the external s-functions???

조회 수: 1 (최근 30일)
Valmir Sadiku
Valmir Sadiku 2014년 5월 27일
Im trying to add external devices via the s-functions for the external mode and this works well as long i add the additional s-functions modules (cpp-files) in the parameter dialog "S-function modules" in S-function-Block. But if i try to add the files via the :
% in rtwmakecfg()
.....
makeInfo.sources = {'sf_my_driver.cpp'};
it throws me this error:
The call to realtime_make_rtw_hook, during the after_make hook generated the following error:
Failed to save the makefile.
The build process will terminate as a result.
Failed to save the makefile.
Failed to generate makefile.
Failed to instantiate the template for value "# Copyright 2012 The MathWorks, Inc.
# Autogenerated on: 27-May-2014 21:57:37
# Model: SFCN_TESTS
# MyTemplate
# File name: sfcn_tests.mk
# Template: gmake
# Template Version: 1.0
# Tool Chain Configuration: Arduinodue
# Tool Chain Configuration Version: 1.0
THIS_MAKEFILE := $(lastword $(MAKEFILE_LIST))
EMPTY :=
SPACE := $(EMPTY) $(EMPTY)
MODEL_NAME := sfcn_tests
HOST_PLATFORM := windows
BUILD_CFG := MW
TARGET_EXT := .elf
TARGET_HEX_EXT := .hex
TARGET_BIN_EXT := .bin
OBJ_EXT := [|||[.obj]MW_XMK_OBJ_EXT|||]
TOOL_CHAIN_CFG := Arduinodue
FORMAT_PATH = $(if $(filter \\
The path 'sf_my_driver.cpp' does not exist
I can't understand why they say it does not exist, because they are definitely there! Can anyone help me? thank you goldeneyes

답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by