MATLAB Answers

0

Simulink with CCS 5.5.0 "ERROR: no source files, nothing to do"

Asked by Julius Hartmann on 30 Jul 2015
Latest activity Commented on by Julius Hartmann on 7 Aug 2015
When compiling Simulink code for a Texas Instruments TMS320F28335, a "ERROR: no source files, nothing to do" occurs.
in Matlab (R2015a), the following is set up:
>> checkEnvSetup('ccsv5', 'f28335', 'check')
1. CCSv5 (Code Composer Studio)
Your version : 5.5.0
Required version: 5.0 or later
Required for : Code Generation
TI_DIR="D:\ti\ccsv5"
2. CGT (Texas Instruments C2000 Code Generation Tools)
Your version : 6.2.0
Required version: 5.2.1 to 6.0.2
Required for : Code generation
C2000_CGT_INSTALLDIR="D:\ti\ccsv5\tools\compiler\c2000_6.2.0"
3. DSP/BIOS (Real Time Operating System)
Your version :
Required version: 5.33.05 to 5.41.11.38
Required for : Code generation
CCSV5_DSPBIOS_INSTALLDIR=""
4. XDC Tools (eXpress DSP Components)
Your version :
Required version: 3.16.02.32 or later
Required for : Code generation
5. Flash Tools (TMS320C28335 Flash APIs)
Your version : 2.10
Required version: 2.10
Required for : Flash Programming
FLASH_28335_API_INSTALLDIR="D:\ti\controlSUITE\libs\utilities\flash_api\2833x\28335\v210"
also,
xmakefilesetup
was done. The Simulink Program:
Now i click "Build Model" in Simulink and get the following Message:
...
### Building 'simulink_1': D:\matlab\R2015a\bin\win64\gmake -B -f simulink_1.mk all
D:\matlab\user_data\simulink_1_grt_rtw>cd .
D:\matlab\user_data\simulink_1_grt_rtw>if "" == "" (D:\matlab\R2015a\bin\win64\gmake -B -f simulink_1.mk all ) else (D:\matlab\R2015a\bin\win64\gmake -B -f simulink_1.mk )
D:/ti/ccsv5/tools/compiler/c2000_6.2.0/bin/cl2000 -DMAT_FILE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=1 -DTID01EQ=1 -DMODEL=simulink_1 -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DRT -DUSE_RTMODEL -ID:/matlab/user_data/simulink_1_grt_rtw -ID:/matlab/user_data -ID:/matlab/test_tmp -ID:/matlab/R2015a/extern/include -ID:/matlab/R2015a/simulink/include -ID:/matlab/R2015a/rtw/c/src -ID:/matlab/R2015a/rtw/c/src/ext_mode/common --output_file="simulink_1.obj" "D:/matlab/user_data/simulink_1_grt_rtw/simulink_1.cpp"
>> ERROR: no source files, nothing to do
...
The "simulink_1.mk" and the "simulink_1.cpp" are in the correct place.
How can this error be fixed?
Regards,
JH
contents of simulink_1.mk:
###########################################################################
## Makefile generated for Simulink model 'simulink_1'.
##
## Makefile : simulink_1.mk
## Generated on : Thu Jul 30 11:10:41 2015
## MATLAB Coder version: 2.8 (R2015a)
##
## Build Info:
##
## Final product: $(RELATIVE_PATH_TO_ANCHOR)/simulink_1.out
## Product type : executable
## Build type : Top-Level Standalone Executable
##
###########################################################################
###########################################################################
## MACROS
###########################################################################
# Macro Descriptions:
# PRODUCT_NAME Name of the system to build
# MAKEFILE Name of this makefile
# COMPUTER Computer type. See the MATLAB "computer" command.
PRODUCT_NAME = simulink_1
MAKEFILE = simulink_1.mk
COMPUTER = PCWIN64
MATLAB_ROOT = D:/matlab/R2015a
MATLAB_BIN = D:/matlab/R2015a/bin
MATLAB_ARCH_BIN = D:/matlab/R2015a/bin/win64
MASTER_ANCHOR_DIR =
START_DIR = D:/matlab/user_data
ARCH = win64
SOLVER =
SOLVER_OBJ =
CLASSIC_INTERFACE = 0
TGT_FCN_LIB = None
MODELREF_LINK_RSPFILE_NAME = simulink_1_ref.rsp
RELATIVE_PATH_TO_ANCHOR = ..
###########################################################################
## TOOLCHAIN SPECIFICATIONS
###########################################################################
# Toolchain Name: Texas Instruments C2000 Code Generation Tools v5.2.12 | gmake (64-bit Windows)
# Supported Version(s):
# ToolchainInfo Version: R2015a
# Specification Revision: 1.0
#
-include codertarget_assembly_flags.mk
-include ../codertarget_assembly_flags.mk
#-------------------------------------------
# Macros assumed to be defined elsewhere
#-------------------------------------------
# CCSV5INSTALLDIR
# CCSV5SCRIPTINGDIR
# TARGET_LOAD_CMD_ARGS
# TIF28XXXSYSSWDIR
#-----------
# MACROS
#-----------
TARGET_SCRIPTINGTOOLS_INSTALLDIR = $(CCSV5SCRIPTINGDIR)
TI_TOOLS = $(CCSV5INSTALLDIR)/bin
TI_INCLUDE = $(CCSV5INSTALLDIR)/include
TI_LIB = $(CCSV5INSTALLDIR)/lib
F28_HEADERS = $(TIF28XXXSYSSWDIR)/~SupportFiles/DSP280x_headers
CCOUTPUTFLAG = --output_file=
LDOUTPUTFLAG = --output_file=
EXE_FILE_EXT = $(PROGRAM_FILE_EXT)
DOWN_EXE_JS = $(MATLAB_ROOT)/toolbox/idelink/extensions/ticcs/ccsdemos/runProgram.js
CCS_CONFIG = $(TARGET_PKG_INSTALLDIR)/tic2000/CCS_Config/f28x_generic.ccxml
ASAP2_PERL_PATH = $(MATLAB_ROOT)/toolbox/target/extensions/processor/tic2000/asap2/asap2post.pl
TOOLCHAIN_SRCS =
TOOLCHAIN_INCS =
TOOLCHAIN_LIBS =
#------------------------
# BUILD TOOL COMMANDS
#------------------------
# Assembler: C2000 Assembler
AS_PATH = $(TI_TOOLS)
AS = $(AS_PATH)/cl2000
# C Compiler: C2000 C Compiler
CC_PATH = $(TI_TOOLS)
CC = $(CC_PATH)/cl2000
# Linker: C2000 Linker
LD_PATH = $(TI_TOOLS)
LD = $(LD_PATH)/cl2000
# C++ Compiler: C2000 C++ Compiler
CPP_PATH = $(TI_TOOLS)
CPP = $(CPP_PATH)/cl2000
# C++ Linker: C2000 C++ Linker
CPP_LD_PATH = $(TI_TOOLS)
CPP_LD = $(CPP_LD_PATH)/cl2000
# Archiver: C2000 Archiver
AR_PATH = $(TI_TOOLS)
AR = $(AR_PATH)/ar2000
# MEX Tool: MEX Tool
MEX_PATH = $(MATLAB_BIN)
MEX = $(MEX_PATH)/mex
# Download: Download
DOWNLOAD_PATH = $(TARGET_SCRIPTINGTOOLS_INSTALLDIR)/bin
DOWNLOAD = $(DOWNLOAD_PATH)/dss.bat
# Execute: Execute
EXECUTE = $(PRODUCT)
# Builder: GMAKE Utility
MAKE_PATH = %MATLAB%\bin\win64
MAKE = $(MAKE_PATH)/gmake
#-------------------------
# Directives/Utilities
#-------------------------
ASDEBUG = -g
AS_OUTPUT_FLAG =
CDEBUG = -g
C_OUTPUT_FLAG = --output_file=
LDDEBUG = -g
OUTPUT_FLAG = --output_file=
CPPDEBUG = -g
CPP_OUTPUT_FLAG = --output_file=
CPPLDDEBUG = -g
OUTPUT_FLAG = --output_file=
ARDEBUG =
STATICLIB_OUTPUT_FLAG =
MEX_DEBUG = -g
RM = @del /F
ECHO = @echo
MV = @move
RUN =
#----------------------------------------
# "Faster Builds" Build Configuration
#----------------------------------------
ARFLAGS = -r
ASFLAGS = -s \
-v28 \
-ml \
$(ASFLAGS_ADDITIONAL)
CFLAGS = --compile_only \
--large_memory_model \
--cla_support=cla0 \
--silicon_version=28 \
--define="LARGE_MODEL" \
-i"$(F28_HEADERS)" \
-i"$(F28_HEADERS)/include" \
-i"$(TI_INCLUDE)"
CPPFLAGS =
CPP_LDFLAGS =
CPP_SHAREDLIB_LDFLAGS =
DOWNLOAD_FLAGS = $(TARGET_LOAD_CMD_ARGS) $(PRODUCT)
EXECUTE_FLAGS =
LDFLAGS = -z -I$(TI_LIB) \
--stack_size=$(STACK_SIZE) --warn_sections \
--heap_size=$(HEAP_SIZE) \
--reread_libs --rom_model \
-m"$(PRODUCT_NAME).map"
MEX_CFLAGS =
MEX_LDFLAGS =
MAKE_FLAGS = -B -f $(MAKEFILE)
SHAREDLIB_LDFLAGS =
#--------------------
# File extensions
#--------------------
OBJ_EXT = .obj
ASM_EXT = .asm
AS_EXT = .asm
CLA_EXT = .cla
H_EXT = .h
OBJ_EXT = .obj
C_EXT = .c
EXE_EXT = .out
SHAREDLIB_EXT =
HPP_EXT = .hpp
OBJ_EXT = .obj
CPP_EXT = .cpp
EXE_EXT =
SHAREDLIB_EXT =
STATICLIB_EXT = .lib
MEX_EXT = .mexw64
MAKE_EXT = .mk
###########################################################################
## OUTPUT INFO
###########################################################################
PRODUCT = $(RELATIVE_PATH_TO_ANCHOR)/simulink_1.out
PRODUCT_TYPE = "executable"
BUILD_TYPE = "Top-Level Standalone Executable"
###########################################################################
## INCLUDE PATHS
###########################################################################
INCLUDES_BUILDINFO = -I$(START_DIR)/simulink_1_grt_rtw -I$(START_DIR) -ID:/matlab/test_tmp -I$(MATLAB_ROOT)/extern/include -I$(MATLAB_ROOT)/simulink/include -I$(MATLAB_ROOT)/rtw/c/src -I$(MATLAB_ROOT)/rtw/c/src/ext_mode/common
INCLUDES = $(INCLUDES_BUILDINFO)
###########################################################################
## DEFINES
###########################################################################
DEFINES_BUILD_ARGS = -DMAT_FILE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=1
DEFINES_IMPLIED = -DTID01EQ=1
DEFINES_STANDARD = -DMODEL=simulink_1 -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DRT -DUSE_RTMODEL
DEFINES = $(DEFINES_BUILD_ARGS) $(DEFINES_IMPLIED) $(DEFINES_STANDARD)
###########################################################################
## SOURCE FILES
###########################################################################
SRCS = $(START_DIR)/simulink_1_grt_rtw/simulink_1.cpp $(MATLAB_ROOT)/rtw/c/src/common/rt_cppclass_main.cpp
ALL_SRCS = $(SRCS)
###########################################################################
## OBJECTS
###########################################################################
OBJS = simulink_1.obj
MAIN_OBJ = rt_cppclass_main.obj
ALL_OBJS = $(OBJS) $(MAIN_OBJ)
###########################################################################
## PREBUILT OBJECT FILES
###########################################################################
PREBUILT_OBJS =
###########################################################################
## LIBRARIES
###########################################################################
LIBS =
###########################################################################
## SYSTEM LIBRARIES
###########################################################################
SYSTEM_LIBS =
###########################################################################
## ADDITIONAL TOOLCHAIN FLAGS
###########################################################################
#---------------
# C Compiler
#---------------
CFLAGS_BASIC = $(DEFINES) $(INCLUDES)
CFLAGS += $(CFLAGS_BASIC)
#-----------------
# C++ Compiler
#-----------------
CPPFLAGS_BASIC = $(DEFINES) $(INCLUDES)
CPPFLAGS += $(CPPFLAGS_BASIC)
###########################################################################
## PHONY TARGETS
###########################################################################
.PHONY : all build buildobj clean info prebuild download execute
all : build
@echo "### Successfully generated all binary outputs."
build : prebuild $(PRODUCT)
buildobj : prebuild $(OBJS) $(PREBUILT_OBJS)
@echo "### Successfully generated all binary outputs."
prebuild :
download : build
@echo "### Invoking postbuild tool "Download" ..."
$(DOWNLOAD) $(DOWNLOAD_FLAGS)
@echo "### Done invoking postbuild tool."
execute : download
@echo "### Invoking postbuild tool "Execute" ..."
$(EXECUTE) $(EXECUTE_FLAGS)
@echo "### Done invoking postbuild tool."
###########################################################################
## FINAL TARGET
###########################################################################
#-------------------------------------------
# Create a standalone executable
#-------------------------------------------
$(PRODUCT) : $(OBJS) $(PREBUILT_OBJS) $(MAIN_OBJ)
@echo "### Creating standalone executable "$(PRODUCT)" ..."
$(CPP_LD) $(CPP_LDFLAGS) --output_file= $(PRODUCT) $(OBJS) $(MAIN_OBJ) $(SYSTEM_LIBS) $(TOOLCHAIN_LIBS)
@echo "### Created: $(PRODUCT)"
###########################################################################
## INTERMEDIATE TARGETS
###########################################################################
#---------------------
# SOURCE-TO-OBJECT
#---------------------
%.obj : $(RELATIVE_PATH_TO_ANCHOR)/%.cla
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(RELATIVE_PATH_TO_ANCHOR)/%.c
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(RELATIVE_PATH_TO_ANCHOR)/%.asm
$(AS) $(ASFLAGS) "$<"
%.obj : $(RELATIVE_PATH_TO_ANCHOR)/%.cpp
$(CPP) $(CPPFLAGS) --output_file="$@" "$<"
%.obj : $(MATLAB_ROOT)/rtw/c/src/%.cla
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(MATLAB_ROOT)/rtw/c/src/%.c
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(MATLAB_ROOT)/rtw/c/src/%.asm
$(AS) $(ASFLAGS) "$<"
%.obj : $(MATLAB_ROOT)/rtw/c/src/%.cpp
$(CPP) $(CPPFLAGS) --output_file="$@" "$<"
%.obj : $(MATLAB_ROOT)/rtw/c/src/common/%.cpp
$(CPP) $(CPPFLAGS) --output_file="$@" "$<"
%.obj : $(MATLAB_ROOT)/simulink/src/%.cla
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(MATLAB_ROOT)/simulink/src/%.c
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(MATLAB_ROOT)/simulink/src/%.asm
$(AS) $(ASFLAGS) "$<"
%.obj : $(MATLAB_ROOT)/simulink/src/%.cpp
$(CPP) $(CPPFLAGS) --output_file="$@" "$<"
%.obj : $(START_DIR)/%.cla
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(START_DIR)/%.c
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(START_DIR)/%.asm
$(AS) $(ASFLAGS) "$<"
%.obj : $(START_DIR)/%.cpp
$(CPP) $(CPPFLAGS) --output_file="$@" "$<"
%.obj : $(START_DIR)/simulink_1_grt_rtw/%.cla
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(START_DIR)/simulink_1_grt_rtw/%.c
$(CC) $(CFLAGS) --output_file="$@" "$<"
%.obj : $(START_DIR)/simulink_1_grt_rtw/%.asm
$(AS) $(ASFLAGS) "$<"
%.obj : $(START_DIR)/simulink_1_grt_rtw/%.cpp
$(CPP) $(CPPFLAGS) --output_file="$@" "$<"
###########################################################################
## DEPENDENCIES
###########################################################################
$(ALL_OBJS) : $(MAKEFILE) rtw_proj.tmw
###########################################################################
## MISCELLANEOUS TARGETS
###########################################################################
info :
@echo "### PRODUCT = $(PRODUCT)"
@echo "### PRODUCT_TYPE = $(PRODUCT_TYPE)"
@echo "### BUILD_TYPE = $(BUILD_TYPE)"
@echo "### INCLUDES = $(INCLUDES)"
@echo "### DEFINES = $(DEFINES)"
@echo "### ALL_SRCS = $(ALL_SRCS)"
@echo "### ALL_OBJS = $(ALL_OBJS)"
@echo "### LIBS = $(LIBS)"
@echo "### MODELREF_LIBS = $(MODELREF_LIBS)"
@echo "### SYSTEM_LIBS = $(SYSTEM_LIBS)"
@echo "### TOOLCHAIN_LIBS = $(TOOLCHAIN_LIBS)"
@echo "### ASFLAGS = $(ASFLAGS)"
@echo "### CFLAGS = $(CFLAGS)"
@echo "### LDFLAGS = $(LDFLAGS)"
@echo "### SHAREDLIB_LDFLAGS = $(SHAREDLIB_LDFLAGS)"
@echo "### CPPFLAGS = $(CPPFLAGS)"
@echo "### CPP_LDFLAGS = $(CPP_LDFLAGS)"
@echo "### CPP_SHAREDLIB_LDFLAGS = $(CPP_SHAREDLIB_LDFLAGS)"
@echo "### ARFLAGS = $(ARFLAGS)"
@echo "### MEX_CFLAGS = $(MEX_CFLAGS)"
@echo "### MEX_LDFLAGS = $(MEX_LDFLAGS)"
@echo "### DOWNLOAD_FLAGS = $(DOWNLOAD_FLAGS)"
@echo "### EXECUTE_FLAGS = $(EXECUTE_FLAGS)"
@echo "### MAKE_FLAGS = $(MAKE_FLAGS)"
clean :
$(ECHO) "### Deleting all derived files..."
$(RM) $(subst /,\,$(PRODUCT))
$(RM) $(subst /,\,$(ALL_OBJS))
$(RM) *Object
$(ECHO) "### Deleted all derived files."
contents of simulink_1.cpp
/*
* simulink_1.cpp
*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* Code generation for model "simulink_1".
*
* Model version : 1.7
* Simulink Coder version : 8.8 (R2015a) 09-Feb-2015
* C++ source code generated on : Thu Jul 30 11:10:39 2015
*
* Target selection: grt.tlc
* Note: GRT includes extra infrastructure and instrumentation for prototyping
* Embedded hardware selection: Texas Instruments->C2000
* Code generation objective: Debugging
* Validation result: Passed (0), Warning (1), Error (0)
*/
#include "simulink_1.h"
#include "simulink_1_private.h"
/* Model step function */
void simulink_1ModelClass::step()
{
/* Clock: '<Root>/Clock' */
simulink_1_B.Clock = (&simulink_1_M)->Timing.t[0];
/* Sum: '<Root>/Add' incorporates:
* Constant: '<Root>/Constant'
*/
simulink_1_B.Add = simulink_1_P.Constant_Value + simulink_1_B.Clock;
/* Abs: '<Root>/Abs' */
simulink_1_B.Abs = fabs(simulink_1_B.Add);
/* Update absolute time for base rate */
/* The "clockTick0" counts the number of times the code of this task has
* been executed. The absolute time is the multiplication of "clockTick0"
* and "Timing.stepSize0". Size of "clockTick0" ensures timer will not
* overflow during the application lifespan selected.
* Timer of this task consists of two 32 bit unsigned integers.
* The two integers represent the low bits Timing.clockTick0 and the high bits
* Timing.clockTickH0. When the low bit overflows to 0, the high bits increment.
*/
if (!(++(&simulink_1_M)->Timing.clockTick0)) {
++(&simulink_1_M)->Timing.clockTickH0;
}
(&simulink_1_M)->Timing.t[0] = (&simulink_1_M)->Timing.clockTick0 *
(&simulink_1_M)->Timing.stepSize0 + (&simulink_1_M)->Timing.clockTickH0 *
(&simulink_1_M)->Timing.stepSize0 * 4294967296.0;
{
/* Update absolute timer for sample time: [0.2s, 0.0s] */
/* The "clockTick1" counts the number of times the code of this task has
* been executed. The resolution of this integer timer is 0.2, which is the step size
* of the task. Size of "clockTick1" ensures timer will not overflow during the
* application lifespan selected.
* Timer of this task consists of two 32 bit unsigned integers.
* The two integers represent the low bits Timing.clockTick1 and the high bits
* Timing.clockTickH1. When the low bit overflows to 0, the high bits increment.
*/
(&simulink_1_M)->Timing.clockTick1++;
if (!(&simulink_1_M)->Timing.clockTick1) {
(&simulink_1_M)->Timing.clockTickH1++;
}
}
}
/* Model initialize function */
void simulink_1ModelClass::initialize()
{
/* Registration code */
/* initialize real-time model */
(void) memset((void *)(&simulink_1_M), 0,
sizeof(RT_MODEL_simulink_1_T));
{
/* Setup solver object */
rtsiSetSimTimeStepPtr(&(&simulink_1_M)->solverInfo, &(&simulink_1_M)
->Timing.simTimeStep);
rtsiSetTPtr(&(&simulink_1_M)->solverInfo, &rtmGetTPtr((&simulink_1_M)));
rtsiSetStepSizePtr(&(&simulink_1_M)->solverInfo, &(&simulink_1_M)
->Timing.stepSize0);
rtsiSetErrorStatusPtr(&(&simulink_1_M)->solverInfo, (&rtmGetErrorStatus
((&simulink_1_M))));
rtsiSetRTModelPtr(&(&simulink_1_M)->solverInfo, (&simulink_1_M));
}
rtsiSetSimTimeStep(&(&simulink_1_M)->solverInfo, MAJOR_TIME_STEP);
rtsiSetSolverName(&(&simulink_1_M)->solverInfo,"FixedStepDiscrete");
rtmSetTPtr((&simulink_1_M), &(&simulink_1_M)->Timing.tArray[0]);
(&simulink_1_M)->Timing.stepSize0 = 0.2;
/* block I/O */
(void) memset(((void *) &simulink_1_B), 0,
sizeof(B_simulink_1_T));
}
/* Model terminate function */
void simulink_1ModelClass::terminate()
{
/* (no terminate code required) */
}
/* Constructor */
simulink_1ModelClass::simulink_1ModelClass()
{
static const P_simulink_1_T simulink_1_P_temp = {
1.0 /* Expression: 1
* Referenced by: '<Root>/Constant'
*/
}; /* Modifiable parameters */
/* Initialize tunable parameters */
simulink_1_P = simulink_1_P_temp;
}
/* Destructor */
simulink_1ModelClass::~simulink_1ModelClass()
{
/* Currently there is no destructor body generated.*/
}
/* Real-Time Model get method */
RT_MODEL_simulink_1_T * simulink_1ModelClass::getRTM()
{
return (&simulink_1_M);
}

  0 Comments

Sign in to comment.

1 Answer

Answer by Greg Wolff on 6 Aug 2015
 Accepted Answer

Do you have another shell installed? For example MinGW, Cygwin, or GIT bash.
Unfortunately the make-file for the C2000 target that gets generated doesn't specify which shell to use, even though it expects to use the Windows command shell (cmd.exe).
If executing the following at the MATLAB Command Prompt returns a path to sh.exe, then likely this the source of the problem.
[~, result] = system('where sh')
To resolve this issue, execute the function updateShellMacroForC2000.m This should resolve the issue for CCSv5.

  1 Comment

yes,
[~, result] = system('where sh')
yields
result =
C:\MinGW\msys\bin\sh.exe
and it's solved now, thanks for the ShellMacro!

Sign in to comment.