So i have a function file, and i want to write inside the file. ( sounds weired i know)
but i want toto write one ligne before the last line in the function script.
i made up this eexemole to explaine :
function [out_1, out_2] = test (in_1, )in_2
i am using this code toto write inside the function file
file = fopen('test.m','a+')
the idea is i want to write before the "end" of the function.
is there a way to Go back 3 caracters or up one ligne to sstart writing?